connecticut_scraperR Documentation

Scraper class for general Connecticut COVID data

Description

CT stores information within tables in images. The image information appears to be consistent making OCR possible.

Name

The facility name.

Total Positives

Residents positives

Offenders Recovered

Residents recovered

Offenders in Hospital

Residents who are in the hospital not neccisarily quarantine

Offenders Deaths

Residents who have died with some connection to covid-19

Details

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

Super class

R_GlobalEnv::generic_scraper -> connecticut_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
connecticut_scraper$new(
  log,
 
    url = "https://portal.ct.gov/DOC/Common-Elements/Common-Elements/Health-Information-and-Advisories",
  id = "connecticut",
  type = "img",
  state = "CT",
  jurisdiction = "state",
  pull_func = connecticut_pull,
  restruct_func = connecticut_restruct,
  extract_func = connecticut_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
connecticut_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.