new_york_statewide_scraperR Documentation

Scraper class for general NY statewide COVID data

Description

NY only produces staff data at the state level within the html of the site. Data is scrapped from tables.

Staff Deaths

Staff Deaths

Staff Confirmed

Staff Confirmed

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Staff.Confirmed, Name, Staff.Deaths, State, Date, id, source, jurisdiction. We are missing the following core variables for the analysis: Residents.Confirmed, Residents.Deaths, Staff.Recovered, 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 -> new_york_statewide_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
new_york_statewide_scraper$new(
  log,
  url = "https://doccs.ny.gov/doccs-covid-19-report",
  id = "new_york_statewide",
  type = "html",
  state = "NY",
  jurisdiction = "state",
  pull_func = new_york_statewide_pull,
  restruct_func = new_york_statewide_restruct,
  extract_func = new_york_statewide_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
new_york_statewide_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.