federal_population_scraper | R Documentation |
Data pulled from federal pouplation api Brief description of api can be found here http://prisondb.github.io/bopapidocs.html
US State not always provided
Name of institution
Current Poulation
Description of group type
The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Population, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Residents.Confirmed, Staff.Deaths, Residents.Deaths, Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tested, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Active
R_GlobalEnv::generic_scraper
-> federal_population_scraper
new()
federal_population_scraper$new( log, url = "https://www.bop.gov/mobile/about/population_statistics.jsp", id = "federal_population", type = "json", state = "federal", jurisdiction = "federal", pull_func = federal_population_pull, restruct_func = federal_population_restruct, extract_func = federal_population_extract )
clone()
The objects of this class are cloneable with this method.
federal_population_scraper$clone(deep = FALSE)
deep
Whether to make a deep clone.