Skip to content

0.5.0

Choose a tag to compare

@jonathancallahan jonathancallahan released this 13 Mar 23:41
· 52 commits to main since this release

Version 0.5 introduces changes in the default parameters that are requested
when making data requests from the PurpleAir API. In the past, when data was
free, functions download as many potentially relevant parameters
as possible. Now that a payment system is in place, AirSensor2 will be focused
on downloading as few parameters as required to accomplish a task. Many of
the low level PurpleAir data access functions will thus behave differently.

Package dependency updates:

MazamaCoreUtils (>= 0.5.2)
MazamaLocationUtils (>= 0.4.3),
MazamaSpatialUtils (>= 0.8.6),
MazamaTimeSeries (>= 0.3.0),
AirMonitor (>= 0.4.0),
  • Modified pas_downloadParseRawData() defaults to only query for non-measurement
    fields defined in PurplAir_SENSOR_METADATA_FIELDS.
  • Added pas_filterDate() to help find historical sensor data.
  • Added pas_filterNearMonitor() to associate sensors with the closest available
    monitor in a mts_monitor object from the AirMonitor package.
  • Renamed pas_get() to pas_pull().
  • Updated pas_createNew() and pas_leaflet() to default to working with
    non-measurement fields defined in PurplAir_SENSOR_METADATA_FIELDS.
  • Added pas_lifespanPlot() to show when PurpleAir sensors were producing data.
  • Updated collections of fields used in creation of pas and pat objects:
    • PurpleAir_PAS_MINIMAL_FIELDS
    • PurpleAir_PAS_METADATA_FIELDS
    • PurpleAir_PAS_AVG_PM25_FIELDS
    • PurpleAir_PAList_PM25_FIELDS
    • PurpleAir_PAT_QC_FIELDS
    • PurpleAir_PAT_EPA_HOURLY_FIELDS
  • Added a sleep parameter to pat_create() to avoid "rate limiting" errors
    from the PurpleAir API.
  • Removed PurpleAir_createNewMonitor().
  • Added pat_toMonitor().
  • Renamed pat_createNew() to pat_create().
  • Added pat_createRaw().