south_dakota_scraper | R Documentation |
Data is pulled from a pdf on the page whose link is occasionally updated. Within the pdf there are two tables with data. One for staff and another for residents.
The facility name.
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, Staff.Negative, Staff.Recovered, Staff.Deaths, Residents.Confirmed, Residents.Negative, Residents.Recovered, Residents.Active, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population
R_GlobalEnv::generic_scraper
-> south_dakota_scraper
new()
south_dakota_scraper$new( log, url = "https://doc.sd.gov/about/Coronavirus.aspx", id = "south_dakota", type = "pdf", state = "SD", jurisdiction = "state", pull_func = south_dakota_pull, restruct_func = south_dakota_restruct, extract_func = south_dakota_extract )
clone()
The objects of this class are cloneable with this method.
south_dakota_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.