Published March 13, 2024
| Version 0.5.0
Software
Open
MazamaScience/AirSensor2: 0.5.0
Description
AirSensor2 0.5.0
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 inPurplAir_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()topas_pull(). - Updated
pas_createNew()andpas_leaflet()to default to working with non-measurement fields defined inPurplAir_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_FIELDSPurpleAir_PAS_METADATA_FIELDSPurpleAir_PAS_AVG_PM25_FIELDSPurpleAir_PAList_PM25_FIELDSPurpleAir_PAT_QC_FIELDSPurpleAir_PAT_EPA_HOURLY_FIELDS
- Added a
sleepparameter topat_create()to avoid "rate limiting" errors from the PurpleAir API. - Removed
PurpleAir_createNewMonitor(). - Added
pat_toMonitor(). - Renamed
pat_createNew()topat_create(). - Added
pat_createRaw().
Files
MazamaScience/AirSensor2-0.5.0.zip
Files
(3.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:f34e5e2199c847e5b0453d5c31a862c0
|
3.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/MazamaScience/AirSensor2/tree/0.5.0 (URL)