wisconsin_scraperR Documentation

Scraper class for general wisconsin COVID data

Description

WI comes from a tableau table which is downloaded as a pdf. Currently the downloading of this pdf is done on a private server run by marquezn at law.ucla.edu because of RSelenium requirements. This should be changed when a dedicated server is built.

Facility_Name

The facility name.

Positive tests

Cumulative positive test count for residents.

Negative tests

Cumulative negative test count for residents.

Total tests

Cumulative tests administered for residents.

Released Positive Cases

Cumulative residents released while positive.

Active Positive Cases

Residents with active cases.

Inactive Positive Cases

Residents recovered but the wording changed 10/9 from recovered to inactive.

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Name, Residents.Confirmed, Residents.Negative, Residents.Tadmin, 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, Staff.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine, Residents.Quarantine, Residents.Population, Residents.Active

Super class

R_GlobalEnv::generic_scraper -> wisconsin_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
wisconsin_scraper$new(
  log,
 
    url = "https://doc.wi.gov/Pages/COVID19%28Coronavirus%29/COVID19TestingDashboard.aspx",
  id = "wisconsin",
  type = "pdf",
  state = "WI",
  jurisdiction = "state",
  pull_func = wisconsin_pull,
  restruct_func = wisconsin_restruct,
  extract_func = wisconsin_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
wisconsin_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.