milwaukee_county_scraperR Documentation

Scraper class for general Milwaukee county COVID data

Description

Milwaukee reports resident data in an image hosted on the website. No information is given about total administered tests or the cumulative number of confirmed cases.

Facility_Name

The facility name

Current Cases

Residents with active infections

Pending Tests

Residents with pending tests

Negative Tests

Residents with negative tests

Hospitalized

Residents hospitalized

Deaths

Resident deaths

Details

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

Super class

R_GlobalEnv::generic_scraper -> milwaukee_county_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
milwaukee_county_scraper$new(
  log,
  url = "https://county.milwaukee.gov/EN/COVID-19/Individuals-in-County-Care",
  id = "milwaukee_county",
  type = "img",
  state = "WI",
  jurisdiction = "county",
  pull_func = milwaukee_county_pull,
  restruct_func = milwaukee_county_restruct,
  extract_func = milwaukee_county_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
milwaukee_county_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.