washington_scraperR Documentation

Scraper class for general washington COVID data

Description

WA has a number of html tables on their page with both facility specific and state-wide information.

Residents Number Confirmed Cases

Facility specific

Residents Number of Deaths

Facility specific

Resident Active cases

state-wide

Resident recovered cases

state-wide

Resident age

state wide

Resident confirmed age

state wide

Resident race

state wide

Resident confirmed race

state wide

Resident ethicity

state wide

Resident confirmed ethnicity

state wide

Resident confirmed in regional care

facility specific

Resident quarantined/isolated

state wide

Staff Number Confirmed Cases

Facility specific

Staff Number of Deaths

Facility specific

Details

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

Super class

R_GlobalEnv::generic_scraper -> washington_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
washington_scraper$new(
  log,
  url = "https://www.doc.wa.gov/corrections/covid-19/data.htm",
  id = "washington",
  type = "html",
  state = "WA",
  jurisdiction = "state",
  pull_func = washington_pull,
  restruct_func = washington_restruct,
  extract_func = washington_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
washington_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.