idaho_scraperR Documentation

Scraper class for general Idaho COVID data

Description

ID reports a mix of facility and state-wide data across various html tables within the page. Note that residents who leave the facility are considered inactive if they tested positive in the past.

Facility_Name

The facility name

Staff Positive

Staff Active

Staff Inactive

Staff Recovered

Residents Tested

state-wide only, not sure if administered or individuals tested

Residents Pending

state-wide only

Residents Negative

state-wide only

Residents Positive

state-wide only

Residents Asymptomatic Positive

state-wide only

Residents Inactive

state-wide only

Residents Deaths

state-wide only

Details

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

Super class

R_GlobalEnv::generic_scraper -> idaho_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
idaho_scraper$new(
  log,
  url = "https://www.idoc.idaho.gov/content/careers/covid-19",
  id = "idaho",
  type = "html",
  state = "ID",
  jurisdiction = "state",
  pull_func = idaho_pull,
  restruct_func = idaho_restruct,
  extract_func = idaho_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
idaho_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.