cook_county_scraper | R Documentation |
Cook County Jail data is extremely sensitive to changes in the formatting as data is extracted from raw text. Format should be checked frequently. Data only reported for Cook County jail. Note that there is no release numbers so total confirmed may be an under-count because of the way it is calculates. Active + Recovered + Deaths. Historical data present in graph but no way to extract.
Staff currently infected by virus.
Likely cumulative staff recovered.
Cumulative staff deaths.
Residents currently infected by virus.
Likely cumulative residents recovered.
Cumulative resident deaths.
Likely cumulative negative cases.
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Residents.Recovered, Residents.Deaths, Residents.Negative, Staff.Recovered, Staff.Deaths, Residents.Confirmed, Staff.Confirmed, Name, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> cook_county_scraper
new()
cook_county_scraper$new( log, url = "https://www.cookcountysheriff.org/covid-19-cases-at-ccdoc/", id = "cook_county", type = "html", state = "IL", jurisdiction = "county", pull_func = xml2::read_html, restruct_func = cook_county_restruct, extract_func = cook_county_extract )
clone()
The objects of this class are cloneable with this method.
cook_county_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.