hawaii_scraper | R Documentation |
Data comes from an image which is uploaded to extractable servers for analysis.
The faciilty name
Tests administered
Current Residents who are tested but no outcome yet reported.
Cumulative number of residents who are negative.
Cumulative number of residents who have neither positive nor negative results.
Cumulative number of residents who are positive.
Residents in isolation.
Residents in quarantine.
Current residents hospitalized.
Cumulative residents recovered.
Cumulative residents who have died.
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Tadmin, Residents.Pending, Residents.Negative, Residents.Confirmed, Residents.Active, Residents.Quarantine, Residents.Recovered, Residents.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Staff.Deaths, Staff.Recovered, Staff.Tested, Residents.Tested, Staff.Negative, Staff.Pending, Staff.Quarantine, Residents.Population
R_GlobalEnv::generic_scraper
-> hawaii_scraper
new()
hawaii_scraper$new( log, url = "https://dps.hawaii.gov/blog/2020/03/17/coronavirus-covid-19-information-and-resources/", id = "hawaii", state = "HI", type = "img", jurisdiction = "state", pull_func = function(x) { get_src_by_attr(x, "img", attr = "src", attr_regex = "(?i)Inmate-Test-Report") %>% { gsub("-[0-9]+x[0-9]+", "", .) } %>% magick::image_read() }, restruct_func = function(x) ExtractTable(x), extract_func = hawaii_extract )
clone()
The objects of this class are cloneable with this method.
hawaii_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.