california_staff_scraperR Documentation

Scraper class for general california_staff COVID data

Description

california_staff data scraped from html table. Names do not correspond to the names listed in the resident table and must be harmonized.

Locations

The facility name.

Cumulative Confirmed

The number of confimed cases among staff.

New In Last 14 Days

The number of new cases among Staff.

Active Cases

The number of active cases among staff.

Staff Returned to Work

Staff Recovered.

Details

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

Super class

R_GlobalEnv::generic_scraper -> california_staff_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
california_staff_scraper$new(
  log,
  url = "https://www.cdcr.ca.gov/covid19/cdcr-cchcs-covid-19-status/",
  id = "california_staff",
  type = "html",
  state = "CA",
  jurisdiction = "state",
  pull_func = california_staff_pull,
  restruct_func = california_staff_restruct,
  extract_func = california_staff_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
california_staff_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.