iowa_scraperR Documentation

Scraper class for general Iowa COVID data

Description

Html table with minimal recoding and cleaning

Prison

The faciilty name

Inmates Tested

Cumulative residents tested. Not tests administered.

Inmates Positive

Cumulative number of residents who are positive.

Inmates Recovered

Cumulative residents recovered.

Staff Positive

Cumulative number of staff who are positive.

Staff Recovered

Cumulative staff recovered.

COVID Related Inmate Deaths

Cumulative residents who have died.

Details

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

Methods

Public methods

Inherited methods

Method new()

Usage
iowa_scraper$new(
  log,
  url = "https://doc.iowa.gov/COVID19",
  id = "iowa",
  state = "IA",
  type = "html",
  jurisdiction = "state",
  pull_func = xml2::read_html,
  restruct_func = iowa_restruct,
  extract_func = iowa_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
iowa_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.