kentucky_scraperR Documentation

Scraper class for general Kentucky COVID data

Description

KY data is hosted on an image on the url but only contains information about confirmed and deaths, no testing. More information about transfers and recoveries is sometimes embedded in the text of the website but it is inconsistent.

Institution

The facility name

Staff

staff confirmed

Staff Deaths

Staff deaths

Inmates

Residents confirmed

Inmates Deaths

Resident deaths

Details

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

Super class

R_GlobalEnv::generic_scraper -> kentucky_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
kentucky_scraper$new(
  log,
  url = "https://corrections.ky.gov/Facilities/Pages/covid19.aspx",
  id = "kentucky",
  type = "img",
  state = "KY",
  jurisdiction = "state",
  pull_func = kentucky_pull,
  restruct_func = kentucky_restruct,
  extract_func = kentucky_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
kentucky_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.