massachusetts_scraper | R Documentation |
Massachusetts data comes from an xlsx file that is updated weekly. Currently a full time series is available but it is not exactly clear which numbers are cumulative. We consistently get tested values that are less than confirmed.
The facility name
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Population, Residents.Tested, Residents.Confirmed, Staff.Tested, Staff.Confirmed, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Deaths, Residents.Deaths, Staff.Recovered, Residents.Recovered, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Active
R_GlobalEnv::generic_scraper
-> massachusetts_scraper
new()
massachusetts_scraper$new( log, url = "https://www.mass.gov/guides/doc-coronavirus-information-guide", id = "massachusetts", type = "csv", state = "MA", jurisdiction = "state", pull_func = massachusetts_pull, restruct_func = massachusetts_restruct, extract_func = massachusetts_extract )
clone()
The objects of this class are cloneable with this method.
massachusetts_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.