example_pas_pm25 | R Documentation |
The example_pas_pm25
dataset provides a quickly loadable
version of a pas object for practicing and code examples. This
object contains metadata appropriate for generating pat objects
with pat_create.
This dataset contains data for sensors in Washington and Oregon and was generated on 2024-03-12 by running:
library(AirSensor2) initializeMazamaSpatialUtils() source("global_vars.R") # contains PurpleAir_API_READ_KEY example_pas_pm25 <- pas_createNew( api_key = PurpleAir_API_READ_KEY, fields = PurpleAir_PAS_AVG_PM25_FIELDS, countryCodes = "US", stateCodes = c("WA", "OR"), counties = NULL, lookbackDays = 1, location_type = 0 ) save(example_pas_pm25, file = "data/example_pas_pm25.rda")
example_pas_pm25
A tibble with 2287 rows and 33 columns of data.
https://www2.purpleair.com
example_pas_pm25_raw
example_pas_historical
example_pas_metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.