maryland_scraper | R Documentation |
Data from MD is pulled from a image hosted in the DOC website which is run the OCR. The data posted has been fairly consistent.
The facility name
Greater region of facility
Tests administered to staff not sure if test administered or individuals tested
Number of confirmed staff
Number of recovered staff
Number of staff deaths
Residents tested not sure if test administered or individuals tested
Number of confirmed residents
Number of recovered residents
Number of resident deaths
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.Tested, Residents.Confirmed, Residents.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> maryland_scraper
new()
maryland_scraper$new( log, url = "https://news.maryland.gov/dpscs/covid-19/", id = "maryland", type = "img", state = "MD", jurisdiction = "state", pull_func = maryland_pull, restruct_func = maryland_restruct, extract_func = maryland_extract )
clone()
The objects of this class are cloneable with this method.
maryland_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.