new_jersey_scraper | R Documentation |
NJ reports data in multiple tables depending on phases. Within each table is the cumulative coiunt for that phase. We loop through all tables and sum to get the sumn of all phases.
The facility name
Staff.Confirmed
Resident cumulative Confirmed
Resident cumulative deaths
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, 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.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active
R_GlobalEnv::generic_scraper
-> new_jersey_scraper
new()
new_jersey_scraper$new( log, url = "https://www.state.nj.us/corrections/pages/COVID19Updates.shtml", id = "new_jersey", type = "html", state = "NJ", jurisdiction = "state", pull_func = new_jersey_pull, restruct_func = new_jersey_restruct, extract_func = new_jersey_extract )
clone()
The objects of this class are cloneable with this method.
new_jersey_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.