utah_scraper | R Documentation |
UT has changed the way that they present data several times but the latest iteration is presented via an image hosted on the page. Currently the image is grabbed by position which is not sustainable. The test number appears to be residents tested rather than tests administered.
The facility name.
Cumulative resients tested not tests administered
Residents confirmed
Residents negative
Residents recovered
Resident deaths
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Tested, Residents.Confirmed, Residents.Negative, Residents.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Staff.Deaths, Staff.Recovered, Staff.Tested, Residents.Tadmin, Staff.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> utah_scraper
new()
utah_scraper$new( log, url = "https://corrections.utah.gov/index.php/home/alerts-2/1237-udc-coronavirus-updates", id = "utah", type = "img", state = "UT", jurisdiction = "state", pull_func = utah_pull, restruct_func = utah_restruct, extract_func = utah_extract )
clone()
The objects of this class are cloneable with this method.
utah_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.