orange_county_scraperR Documentation

Scraper class for general orange_county COVID data

Description

OC data comes from an html table which reports data on numerous statistics. Quarantine data for facilities is also provided.

# Current COVID-19 Positive
# Inmates Recovered
# Inmates Positive
# Inmates Negative
# Results Pending
# Tests Administered
Quarantine/Isolation

Details

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

Super class

R_GlobalEnv::generic_scraper -> orange_county_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
orange_county_scraper$new(
  log,
  url = "https://ocsheriff.gov/about-ocsd/covid-19/covid-19-oc-jails",
  id = "orange_county",
  type = "html",
  state = "CA",
  jurisdiction = "county",
  pull_func = orange_county_pull,
  restruct_func = orange_county_restruct,
  extract_func = orange_county_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
orange_county_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.