new_hampshire_scraper | R Documentation |
NH has two tables one for residents and one for staff. The info provided is minimal but fairly easy to scrape. Both number tested and confirmed for staff and residents appear to be individuals confirmed and tested rather than tests administered and tests that were positive.
The facility name.
The staff number testing positive
Not the number of tests administered
Number of residents confirmed
State wide staff population
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, Residents.Tested, Residents.Active, Residents.Confirmed, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Deaths, Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population
R_GlobalEnv::generic_scraper
-> new_hampshire_scraper
new()
new_hampshire_scraper$new( log, url = "https://www.covid19.nhdoc.nh.gov/covid-19-testing-information", id = "new_hampshire", type = "html", state = "NH", jurisdiction = "state", pull_func = new_hampshire_pull, restruct_func = new_hampshire_restruct, extract_func = new_hampshire_extract )
clone()
The objects of this class are cloneable with this method.
new_hampshire_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.