maricopa_county_scraperR Documentation

Scraper class for general Maricopa County COVID data

Description

County jail data scraper pulls data from special elements of class dataNumber.

Total Number of Tests and Re-tests
Negative Results
Positive Results
Pending Results & in Med Obs/Med Iso
Active Cases In Custody
Recovered CasesIn Custody
Released Cases
Hospitalizations
Deaths

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Residents.Tadmin, Residents.Confirmed, Residents.Active, Residents.Deaths, Name, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Staff.Confirmed, Staff.Deaths, Staff.Recovered, Residents.Recovered, Staff.Tested, Residents.Tested, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population

Super class

R_GlobalEnv::generic_scraper -> maricopa_county_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
maricopa_county_scraper$new(
  log,
  url = "https://www.maricopa.gov/5574/COVID-19-in-County-Jails",
  id = "maricopa_county",
  type = "html",
  state = "AZ",
  jurisdiction = "county",
  pull_func = xml2::read_html,
  restruct_func = maricopa_county_restruct,
  extract_func = maricopa_county_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
maricopa_county_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.