alaska_scraperR Documentation

Scraper class for general Alaska COVID data

Description

Minimal html webscraping. Since scraping began website has had minimal changes. Only publishes state-wide information and only for residents. Data is updated weekly.

Total Tests

Cumulatiove tests administered.

Negative Tests

Cumulative negative results.

Pending Results

Currently pending.

Remand Positives

Positives cases not sure how different from below.

General Population Psoitives

Not sure on the distinction here.

Details

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

Super class

R_GlobalEnv::generic_scraper -> alaska_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
alaska_scraper$new(
  log,
  url = "https://doc.alaska.gov/covid-19",
  id = "alaska",
  type = "html",
  state = "AK",
  jurisdiction = "state",
  pull_func = alaska_pull,
  restruct_func = alaska_restruct,
  extract_func = alaska_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
alaska_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.