georgia_scraper | R Documentation |
Georgia data comes from an api which needs minimal cleaning.
The faciilty name.
Lat.
Long.
Address of the facility.
City location of facility.
State location of facility (should always be Georgia).
Zip code of facility.
Cumulative staff confirmed.
Cumulative staff deaths.
Cumulative staff recovered.
Cumulative resident confirmed.
Cumulative resident deaths.
Cumulative resident recovered.
Y/N is this a private prison.
Display format for vizualizations.
Display format for vizualizations.
Display format for vizualizations.
Georgia internal facility id.
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
-> georgia_scraper
new()
georgia_scraper$new( log, url = "http://www.dcor.state.ga.us/content/CVD_Dashboard", id = "georgia", type = "json", state = "GA", jurisdiction = "state", pull_func = georgia_pull, restruct_func = function(x) as_tibble(x$features$attributes), extract_func = function(x) { x %>% select(Name = Facility_Name, Staff.Confirmed = Staff_Confirmed, Staff.Recovered = Staff_Recovered, Staff.Deaths = Staff_Deaths, Residents.Confirmed = Inmate_Confirmed, Residents.Recovered = Inmate_Recovered, Residents.Deaths = Inmate_Deaths) } )
clone()
The objects of this class are cloneable with this method.
georgia_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.