arizona_scraper | R Documentation |
HTML table scraping of semi structured data. The information that we care about are located in the html tables located at position 2 for residents and 3 for staff. Should be checked regularly for changing format. Note that historically data for number of residents confirmed has been less than number recovered. Since the number of individuals being released is not reproted this may contribute to the difference.
The facility name.
Likely cummulative number of inmates tested.
Likely cummulative number of inmates negative.
Likely cummulative number of inmates confirmed.
Current number of inmates pending.
Likely cummulative number of inmates recovered.
Resdient population.
Resident death occured w/confirmed status.
Resident death but no confirmed status.
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Tested, Residents.Negative, Residents.Confirmed, Residents.Pending, Residents.Recovered, Residents.Population, Staff.Confirmed, Staff.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Deaths, Staff.Tested, Residents.Tadmin, Staff.Negative, Staff.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Active
R_GlobalEnv::generic_scraper
-> arizona_scraper
new()
arizona_scraper$new( log, url = "https://corrections.az.gov/adcrr-covid-19-dashboard?order=title_field&sort=asc", id = "arizona", type = "html", state = "AZ", jurisdiction = "state", pull_func = arizona_pull, restruct_func = arizona_restruct, extract_func = arizona_extract )
clone()
The objects of this class are cloneable with this method.
arizona_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.