new_mexico_scraperR Documentation

Scraper class for general new_mexico COVID data

Description

This will be a description of new_mexico 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: Name, Residents.Confirmed, Residents.Active, Residents.Deaths, Residents.Recovered, 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, Residents.Tadmin, Staff.Negative, Residents.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population

Super class

R_GlobalEnv::generic_scraper -> new_mexico_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
new_mexico_scraper$new(
  log,
  url = "https://cd.nm.gov/covid-19-updates/",
  id = "new_mexico",
  type = "manual",
  state = "NM",
  jurisdiction = "state",
  pull_func = new_mexico_pull,
  restruct_func = new_mexico_restruct,
  extract_func = new_mexico_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
new_mexico_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.