The example_sensor dataset provides a quickly loadable version of an airsensor object for practicing and code examples. This dataset was was generated on 2023-03-16 by running:


library(AirSensor)

example_sensor <-
  pat_createNew(
    api_key = PURPLE_AIR_API_READ_KEY,
    pas = example_pas,
    sensor_index = "9392",
    startdate = "2022-07-01",
    enddate = "2022-07-08",
    timezone = "UTC",
    verbose = TRUE
  ) 
  pat_createAirSensor(
    parameter = 'pm25',
    FUN = AirSensor::PurpleAirQC_hourly_AB_01
  )

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

Format

An S3 object composed of "meta" and "data" data.