illinois_scraperR Documentation

Scraper class for general Illinois COVID data

Description

IL data self contained within html table. Death data may have have been reported in the past.

Location

The facilty name

Staff.Confirmed

Staff Confirmed

Staff.Recovered

Staff Recovered

Residents.Confirmed

Residents Confirmed

Residents.Recovered

Residents Recovered

Details

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

Super class

R_GlobalEnv::generic_scraper -> illinois_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
illinois_scraper$new(
  log,
  url = "https://www2.illinois.gov/idoc/facilities/Pages/Covid19Response.aspx",
  id = "illinois",
  type = "html",
  state = "IL",
  jurisdiction = "state",
  pull_func = illinois_pull,
  restruct_func = illinois_restruct,
  extract_func = illinois_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
illinois_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.