michigan_staff_scraper | R Documentation |
MI staff data scraper, this information is pulled from a separate table from resident data and though it says we are missing the resident data below we shouldnt be concerned about that. Note that there does not appear to be any sort of consistency or the position of this image and as such this scraper is extremely error prone. Fixing this should be a priority.
The facility name
Staff confirmed positive
staff deaths
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, Staff.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Residents.Confirmed, Residents.Deaths, Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> michigan_staff_scraper
new()
michigan_staff_scraper$new( log, url = "https://medium.com/@MichiganDOC/mdoc-takes-steps-to-prevent-spread-of-coronavirus-covid-19-250f43144337", id = "michigan_staff", type = "img", state = "MI", jurisdiction = "state", pull_func = michigan_staff_pull, restruct_func = michigan_staff_restruct, extract_func = michigan_staff_extract )
clone()
The objects of this class are cloneable with this method.
michigan_staff_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.