new_york_scraperR Documentation

Scraper class for general new_york COVID data

Description

NY facility level data is only provided for residents and not staff. Pdf has been consistent but data used to be directly embedded in the html.

Facility

The facility name

Recovered

Residents recovered from infection

Deceased

Residents deaths related to covid

Positive

Residents Confirmed

Pending

Residents Pending

Negative

Residents Negative

Details

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

Super class

R_GlobalEnv::generic_scraper -> new_york_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
new_york_scraper$new(
  log,
  url = "https://doccs.ny.gov/doccs-covid-19-report",
  id = "new_york",
  type = "pdf",
  state = "NY",
  jurisdiction = "state",
  pull_func = new_york_pull,
  restruct_func = new_york_restruct,
  extract_func = new_york_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
new_york_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.