north_carolina_scraper | R Documentation |
NC has data in an isolated html table which requires minimal cleaning. Guidelines and definitions for facilities are found here https://www.ncdps.gov/our-organization/adult-correction/prisons/prisons-info-covid-19
The facility name
All tests
Number of individuals tested
Individuals positive, probably not cumulative as confirmed is sometimes less than recovered
Individuals Negative
presumed recovered following NCDHHS guidance
Active residents with infection who are also quarantined
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Tadmin, Residents.Confirmed, Residents.Negative, Residents.Recovered, Residents.Quarantine, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Staff.Deaths, Residents.Deaths, Staff.Recovered, Staff.Tested, Residents.Tested, Staff.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> north_carolina_scraper
new()
north_carolina_scraper$new( log, url = "https://opus.doc.state.nc.us/DOPCovid19Stats/services/facilitystatsServlet", id = "north_carolina", type = "html", state = "NC", jurisdiction = "state", pull_func = north_carolina_pull, restruct_func = north_carolina_restruct, extract_func = north_carolina_extract )
clone()
The objects of this class are cloneable with this method.
north_carolina_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.