south_carolina_scraper | R Documentation |
SC data is pulled from two HTML tables one for staff and one for residents. Minimal cleaning is necessary however, it should be noted that at some point SC added columns for death so they may add or remove columns at sometime in the future.
The facility name.
Residents who are confirmed
Residents who have been confirmed and recovered
Residents with outstanding cases
Residents who have died because of COVID
Staff who are confirmed
Staff who have recovered
Staff with outstanding cases
Staff who have died because of COVID
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Confirmed, Staff.Recovered, Staff.Deaths, Residents.Confirmed, Residents.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: 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
-> south_carolina_scraper
new()
south_carolina_scraper$new( log, url = "http://www.doc.sc.gov/covid.html", id = "south_carolina", type = "html", state = "SC", jurisdiction = "state", pull_func = south_carolina_pull, restruct_func = south_carolina_restruct, extract_func = south_carolina_extract )
clone()
The objects of this class are cloneable with this method.
south_carolina_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.