The example_pas dataset provides a quickly loadable version of a pas object for practicing and code examples. This dataset contains data for sensors in Washington and Oregon and was generated on 2023-05-03 by running:


library(AirSensor2)

initializeMazamaSpatialUtils()

example_pas <-
  pas_createNew(
    api_key = PurpleAir_API_READ_KEY,
    countryCodes = "US",
    stateCodes = c("WA", "OR"),
    counties = NULL,
    lookbackDays = 1,
    location_type = 0
  )

save(example_pas, file = "data/example_pas.rda")
example_pas

Format

A tibble with 1948 rows and 50 columns of data.

Source

https://www2.purpleair.com

See also

example_pas_raw