oregon_scraperR Documentation

Scraper class for general Oregon COVID data

Description

Oregon data comes from an HTML table that has been altered 3 times from April 2020 to October 2020. Data is limited to those currently in custody.

Location
Tier Status
Current AIC Active Cases
Total AICs Recovered
AIC Positives to Date
AIC Negatives to Date
Positive AICs Paroled
AIC Deaths
Staff Positives
Staff.Recovered

Details

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

Super class

R_GlobalEnv::generic_scraper -> oregon_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
oregon_scraper$new(
  log,
  url = "https://www.oregon.gov/doc/covid19/Pages/covid19-tracking.aspx",
  id = "oregon",
  type = "html",
  state = "OR",
  jurisdiction = "state",
  pull_func = oregon_pull,
  restruct_func = oregon_restruct,
  extract_func = oregon_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
oregon_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.