mississippi_scraperR Documentation

Scraper class for general mississippi COVID data

Description

MS provides data for a number of facilities through a pdf however minimal data is provided for each facility.

State Institutions

The facility name

Total Positives

Confirmed residents

Active

Residents currently infected

Details

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

Methods

Public methods

Inherited methods

Method new()

Usage
mississippi_scraper$new(
  log,
  url = "https://www.mdoc.ms.gov/Pages/COVID-19-Information-and-Updates.aspx",
  id = "mississippi",
  type = "pdf",
  state = "MS",
  jurisdiction = "state",
  pull_func = mississippi_pull,
  restruct_func = mississippi_restruct,
  extract_func = mississippi_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
mississippi_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.