california_statewide_scraperR Documentation

Scraper class for general california_statewide COVID data

Description

california_statewide data scraped from rendered power BI iframe. Testing data is also available at the facility level but will need to be scraped separately. Note that time series data for the state exists for comparison.

Institution Name

The facility name.

Confirmed

The number of confimed cases among residents.

New In Last 14 Days

The number of new cases among residents.

Active in Custody

The number of active cases.

Released While Active

Residents released after testing positive.

Resolved

Recovered cases.

Deaths

Resident Deaths.

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Tadmin, 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, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active

Super class

R_GlobalEnv::generic_scraper -> california_statewide_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
california_statewide_scraper$new(
  log,
  url = "https://www.cdcr.ca.gov/covid19/updates/",
  id = "california_statewide",
  type = "img",
  state = "CA",
  jurisdiction = "state",
  pull_func = california_statewide_pull,
  restruct_func = california_statewide_restruct,
  extract_func = california_statewide_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
california_statewide_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.