missouri_statewide_scraperR Documentation

Scraper class for general missouri_statewide COVID data

Description

State wide MO data comes directly from html on page. Provides more detail than facility specific scraper.Also includes non-facility information for staff.

Active Inmate Cases

Active Inmate Cases

Active Prison Staff Cases

Active Prison Staff Cases

Inmate Tests Performed

Staff deaths related to COVID

Deaths offenders

Resident deaths related to COVID

Non-Prison Staff Cumulative Cases

NPS cumulative infections

Non-Prison Staff Active

NPS active

Non-Prison Staff Recovered

NPS recovered

Details

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

Super class

R_GlobalEnv::generic_scraper -> missouri_statewide_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
missouri_statewide_scraper$new(
  log,
  url = "https://doc.mo.gov/media-center/newsroom/covid-19/data",
  id = "missouri_statewide",
  type = "html",
  state = "MO",
  jurisdiction = "state",
  pull_func = missouri_statewide_pull,
  restruct_func = missouri_statewide_restruct,
  extract_func = missouri_statewide_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
missouri_statewide_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.