pennsylvania_population_scraper | R Documentation |
PN also reports separately info on the population of each facility. We collect that information from an html table here. You can ignore the warnings about missingness below.
The facility name.
Residnet population
Residents released
New res population
Resident change from yesterday
Resident change from last week
Resident change from last month
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Population, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Residents.Confirmed, Staff.Deaths, Residents.Deaths, Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Active
R_GlobalEnv::generic_scraper
-> pennsylvania_population_scraper
new()
pennsylvania_population_scraper$new( log, url = "https://www.cor.pa.gov/Pages/COVID-19.aspx", id = "pennsylvania_population", type = "html", state = "PA", jurisdiction = "state", pull_func = pennsylvania_population_pull, restruct_func = pennsylvania_population_restruct, extract_func = pennsylvania_population_extract )
clone()
The objects of this class are cloneable with this method.
pennsylvania_population_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.