wyoming_scraperR Documentation

Scraper class for general wyoming COVID data

Description

As of 11/20/20 Wyoming stopped reporting cumulative cases and only reports active resident cases. Note that we only update Wyoming data if it is less than 7 days old. If WY hasnt produced a new data sheet after 7 days then no data should be recorded by the scraper and this scraper should fail.

Facility_Name

The faciilty name.

Details

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

Methods

Public methods

Inherited methods

Method new()

Usage
wyoming_scraper$new(
  log,
  url = "http://corrections.wyo.gov/",
  id = "wyoming",
  type = "manual",
  state = "WY",
  jurisdiction = "state",
  pull_func = wyoming_pull,
  restruct_func = wyoming_restruct,
  extract_func = wyoming_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
wyoming_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.