nyc_jails_scraperR Documentation

Scraper class for general nyc_jails COVID data

Description

This will be a description of nyc_jails data and what the scraper does

Facility_Name

The faciilty name.

Details

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

Methods

Public methods

Inherited methods

Method new()

Usage
nyc_jails_scraper$new(
  log,
  url = "https://doccs.ny.gov/doccs-covid-19-report",
  id = "nyc_jails",
  type = "html",
  state = "NY",
  jurisdiction = "county",
  pull_func = nyc_jails_pull,
  restruct_func = nyc_jails_restruct,
  extract_func = nyc_jails_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
nyc_jails_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.