louisiana_scraperR Documentation

Scraper class for general Louisiana COVID data

Description

Louisiana scraper extracts information from two html tables, one for staff and another for residents. Table for residents is more detailed. Not that the testing numbers indicate the number of individuals who are tested and not the total number of tests administered.

Prisons

The facility name.

Current Positive Symptomatic

Residents active Positive who are sympotomatic

Current Positive Asymptomatic

Residents active Positive who are asympotomatic

Total Tested Positive Cases

Total residents confirmed

Tested Positive Symptomatic Cases

Residents Testing Positive who are sympotomatic

Tested Positive Asymptomatic Cases

Residents Testing Positive who are asympotomatic

Total # of Inmates Tested

Number of residents tested, not tests administered.

# of Inmate Retests Processed

Residents re-tested

Step Down

Not sure

Recovered

Residents recovered

Released

Residents released

COVID-19 Deaths (Underlying Medical Conditions)

Residents passing w/ covid and other underlying conditions

COVID-19 Deaths

Residents passing w/ covid and w/o other underlying conditions

Total Deaths

Total resident deaths related to covid

Staff Positive

Staff who are confirmed

Staff Recovered

Staff who are recovered

Staff Tested (Self Reported & DOC Conducted)

Staff who have been tested

Staff Deaths

Staff deaths

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Confirmed, Residents.Tested, Residents.Deaths, Residents.Recovered, Residents.Tadmin, Staff.Confirmed, Staff.Recovered, Staff.Tested, Staff.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active

Super class

R_GlobalEnv::generic_scraper -> louisiana_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
louisiana_scraper$new(
  log,
  url = "https://doc.louisiana.gov/doc-covid-19-testing/",
  id = "louisiana",
  type = "html",
  state = "LA",
  jurisdiction = "state",
  pull_func = louisiana_pull,
  restruct_func = louisiana_restruct,
  extract_func = louisiana_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
louisiana_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.