missouri_scraperR Documentation

Scraper class for general Missouri COVID data

Description

Facility specific MO data comes from a power bi html table. Cumulative cases for facilities and deaths at the state level appear to be no longer reported here.

Facility

The facility name

Staff Active Cases

Current infections among staff

Staff Recovered

Staff who have recovered from infection

Offender Active Cases

Current infections among residents

Offenders Recovered

Residents who have recovered from infection

Details

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

Methods

Public methods

Inherited methods

Method new()

Usage
missouri_scraper$new(
  log,
  url = "https://doc.mo.gov/media-center/newsroom/covid-19/data",
  id = "missouri",
  type = "img",
  state = "MO",
  jurisdiction = "state",
  pull_func = missouri_pull,
  restruct_func = missouri_restruct,
  extract_func = missouri_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
missouri_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.