oklahoma_scraperR Documentation

Scraper class for general Oklahoma COVID data

Description

Scraper needs to be rewritten to accomadet new structure of the data.

Details

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

Super class

R_GlobalEnv::generic_scraper -> oklahoma_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
oklahoma_scraper$new(
  log,
  url = "http://doc.publishpath.com/Default.aspx?shortcut=covid-19-stats-report",
  id = "oklahoma",
  state = "OK",
  type = "html",
  jurisdiction = "state",
  pull_func = oklahoma_pull,
  restruct_func = oklahoma_restruct,
  extract_func = oklahoma_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
oklahoma_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.