polk_county_scraperR Documentation

Scraper class for general Polk county COVID data

Description

Polk county reports testing and confirmed data for staff and residents in an image hosted on the web page. Test number appear to be tests administered not individuals tested.

Inmate Tests Administered

Number of tests administered to residents

Inmates Positive

Number of Inmates Confirmed

Staff Tests Administered

Number of tests administered to staff

Staff Positive

Number of staff confirmed

Details

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

Super class

R_GlobalEnv::generic_scraper -> polk_county_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
polk_county_scraper$new(
  log,
  url = "https://www.polkcountyiowa.gov/county-sheriff/news-press-releases/",
  id = "polk_county",
  type = "img",
  state = "IA",
  jurisdiction = "county",
  pull_func = polk_county_pull,
  restruct_func = polk_county_restruct,
  extract_func = polk_county_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
polk_county_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.