kentucky_scraper | R Documentation |
KY data is hosted on an image on the url but only contains information about confirmed and deaths, no testing. More information about transfers and recoveries is sometimes embedded in the text of the website but it is inconsistent.
The facility name
staff confirmed
Staff deaths
Residents confirmed
Resident deaths
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, Staff.Deaths, Residents.Active, Residents.Confirmed, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population
R_GlobalEnv::generic_scraper
-> kentucky_scraper
new()
kentucky_scraper$new( log, url = "https://corrections.ky.gov/Facilities/Pages/covid19.aspx", id = "kentucky", type = "img", state = "KY", jurisdiction = "state", pull_func = kentucky_pull, restruct_func = kentucky_restruct, extract_func = kentucky_extract )
clone()
The objects of this class are cloneable with this method.
kentucky_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.