north_dakota_scraperR Documentation

Scraper class for general north_dakota COVID data

Description

Data come from hicharts js loaded data. Scraper could be improved by pulling data directly from tables, however, loading these tables requires mouse clicks which are difficult to locate the location of. Data is updated frequently.

Facility

The facility name.

Residents.Positive

Active positive cases not cumulative

Residents.Recovered
Residents.Deaths
Staff.Positive

Active positive cases not cumulative

Staff.Recovered
Residents.Total.Tests.Administered
Residents.Total.Individials.Tested
Residents.Total.Individuals.Tested.Twice
Staff.Total.Tests.Administered
Staff.Total.Individials.Tested
Staff.Total.Individuals.Tested.Twice

Details

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

Super class

R_GlobalEnv::generic_scraper -> north_dakota_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
north_dakota_scraper$new(
  log,
  url = "https://www.docr.nd.gov/covid-19-information",
  id = "north_dakota",
  type = "html",
  state = "ND",
  jurisdiction = "state",
  pull_func = north_dakota_pull,
  restruct_func = north_dakota_restruct,
  extract_func = north_dakota_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
north_dakota_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.