indiana_scraper | R Documentation |
Data from IN is pulled from a image hosted in the DOC website which is run the OCR. The data posted has been consistent however it should be noted that it seems that residents confirmed goes down when they leave the facility so recovered can be higher than confirmed.
The facility name.
Test administered by facility to staff
Staff who are confirmed
Staff who have recovered after being confirmed
Staff deaths related to covid
Residents currently in quarantine
Residents currently in isolation
Number of tests administered to residents, not number of residents tested
Residents currently in facility confirmed sometimes lower than recovered
Redidents who have recovered
Residents who have died, presumably to covid
Residents who have died related to covid
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Tested, Staff.Confirmed, Staff.Recovered, Staff.Deaths, Residents.Quarantine, Residents.Tadmin, Residents.Confirmed, Residents.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Residents.Tested, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> indiana_scraper
new()
indiana_scraper$new( log, url = "https://www.in.gov/idoc/3780.htm", id = "indiana", type = "img", state = "IN", jurisdiction = "state", pull_func = indiana_pull, restruct_func = indiana_restruct, extract_func = indiana_extract )
clone()
The objects of this class are cloneable with this method.
indiana_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.