west_virginia_scraper | R Documentation |
WV data resides in a tsv file hosted on the doc website. Staff information is only provided at the state wide table and a number of coding steps are necessary to extract the information.
The facility name
County location
Resident population
Residents negative
Residents currently infected
Resident tests pending, all inmates/residents awaiting test results remain in isolation
cumulative tests refers to number of tests performed and completed, NOT the number of inmates or residents tested
Residents recovered
Residents cumulative cases
Residents in quarantine
Statewide only
Statewide only
Statewide only
Statewide only
Statewide only
Statewide only
Statewide only, deaths of positive inmates are not included in this data when medical opinion does not conclude COVID-19 caused or contributed to the death, pending any further medical determination. Deaths not included per this criteria: MOCC, 6
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Staff.Recovered, Staff.Confirmed, Staff.Negative, Staff.Pending, Staff.Tested, Residents.Deaths, Residents.Population, Residents.Active, Residents.Recovered, Residents.Confirmed, Residents.Negative, Residents.Pending, Residents.Tadmin, Residents.Quarantine, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Deaths, Residents.Tested, Staff.Quarantine
R_GlobalEnv::generic_scraper
-> west_virginia_scraper
new()
west_virginia_scraper$new( log, url = "https://dhhr.wv.gov/COVID-19/Pages/Correctional-Facilities.aspx", id = "west_virginia", type = "csv", state = "WV", jurisdiction = "state", pull_func = west_virginia_pull, restruct_func = west_virginia_restruct, extract_func = west_virginia_extract )
clone()
The objects of this class are cloneable with this method.
west_virginia_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.