lasd_scraperR Documentation

Scraper class for general LASD staff COVID data tibble(

Description

Info comes from an image file hosted on the website however scraping the image is extremely difficult and has required multiple alterations in the past. Need to frequently monitor this scraper for errors.

Residents.Confirmed
Residents.Recovered
Residents.Deaths
Residents.Quarantine
neg.asymp

Negative Asymptomatic

neg.symp

Negative Symptomatic

pos.asymp

Positive Asymptomatic

pos.symp

Positive Symptomatic

Residents.Population

Details

The last run of the scraper was on 2021-01-11 and contained the extracted columns: Residents.Confirmed, Residents.Recovered, Residents.Deaths, Residents.Quarantine, Residents.Population, Residents.Negative, Residents.Active, Residents.Tadmin, Name, 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, Staff.Negative, Staff.Pending, Residents.Pending, Staff.Quarantine

Super class

R_GlobalEnv::generic_scraper -> lasd_scraper

Methods

Public methods

Inherited methods

Method new()

Usage
lasd_scraper$new(
  log,
  url = "https://lasd.org/covid19updates/",
  id = "lasd",
  type = "img",
  state = "CA",
  jurisdiction = "county",
  pull_func = lasd_pull,
  restruct_func = lasd_restruct,
  extract_func = lasd_extract
)

Method clone()

The objects of this class are cloneable with this method.

Usage
lasd_scraper$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.