Releases: MazamaScience/AirSensor
Releases · MazamaScience/AirSensor
1.1.1
AirSensor 1.1.1
- Changed examples to use
PURPLE_AIR_API_READY_KEY
instead ofMY_API_READ_KEY
. - Added "Working with PurpleAir API Keys" article.
- When
show_only
is used, spatial bounding information is ignored in:
pa_getSensorsData()
,pas_downloadParseRawData()
andpas_createNew()
. - Updated
pas_createNew()
to be backwards compatible with MazamaSpatialUtils
version 0.7.6.
1.1.0
AirSensor 1.1.0
Updates to accommodate data access through the PurpleAir API released in July of
2022. This API requires an API_KEY. Users of the package are required to obtain
their own credentials from PurpleAir.
For information, see:
-
Updated Mazama package dependency versions.
-
Support for API keys.
-
Replace sp package dependency with sf package.
-
New versions of
pas_createNew()
,pas_downloadParseData()
,pas_enhanceRawData()
andpas_leaflet()
. -
Some column names in generated pas dataframes have changed to be more
consistent with PurpleAir documentation. -
New versions of
pat_downloadParseRawData()
,pat_createNew()
. -
Updated package data and function reference examples.
-
Removed package dependencies: httpcode
1.0.8
AirSensor 1.0.8
- Minor documentation updates.
1.0.7
AirSensor 1.0.7
- Minor documentation updates to clarify "state-of-health" calculations.
- Improved pattern matching for South Coast communities in
pas_addCommunityRegion()
. - Remove "Voc" column during
pas_load()
so that current and archival 'pas'
objects can be easily merged. (Some early 'pas' objects contained some "Voc"
data but this has never been a focus of the AirSensor package. Later 'pas'
objects do not contain the "Voc" parameter.) pas_load()
now properly handles loading of archival 'pas' objects prior to
2019-08-02.
AirSensor 1.0.6
- Fixed documentation and included dataset encoding to UTF-8 standard.
1.0.5
AirSensor 1.0.5
- Improved monitor labeling in
pat_externalFit()
andpat_monitorComparison()
.
AirSensor 1.0.4
- Updated PAS baseUrl to 'https://www.purpleair.com/json?all=true'.
1.0.3
AirSensor 1.0.3
- Improved legend in
pat_monitorComparision()
.
AirSensor 1.0.2
- CRAN submission tweaks.
- Spell check vignettes.
AirSensor 1.0.1
- CRAN submission tweaks.
1.0.0
AirSensor 1.0.0
- First public release.
0.9.19
AirSensor 0.9.19
- Added
sensor_calendarPlot()
.
AirSensor 0.9.18
- Fix in
pat_join()
to handle older 'pat' objects with integerdeviceID
.
0.9.17
AirSensor 0.9.17
- Updated dependency to worldmet 0.9.2.
sensor_pollutionRose()
now searches for the nearest 2 met sites in case the
first one has no data. This matches the behavior insensor_polarPlot()
.- Rebuilt all
example_~
data files with AirSensor 0.9.17. - Updated tests to match new example data.
- Removed all references to "Voc" in pas related functions as this field is
not longer part of the PurpleAir.json
file. - Used MazamaCoreUtils "timezone linting" to ensure that timezones are always
specified. - Removed
plantowerAlgorithm
argument frompat_createPATimeseriesObject()
as
an attractive nuisance that could generate much confusion. - Improved examples in several
sensor_~()
functions. - Updated several articles.
AirSensor 0.9.16
- Restored
sensor_polarPlot()
andsensor_pollutionRose()
functionality by
upgrading to worldmet 0.9.1.
AirSensor 0.9.15
- Improved error handling in
sensor_join()
. - Fixed date range filtering bug in
sensor_load()
.
AirSensor 0.9.14
- Added guarantees in multiple places that
meta$ID
andmeta$deviceID
for both
pat and airsensor objects are of type "character". This fixes errors during
joining of monthly files that may have been created with an earlier version of
the package.
AirSensor 0.9.13
- For all
PurpleAirQC_hourly_~()
functions,returnAllColumns
now returns a
column of data for every parameter used in the QC algorithm. - Suppressing deprecation warnings generated by (R version 3.5.3)
stats::t.test()
inside ofPurpleAirQC_hourly_AB_01()
. - Fixed
PurpleAirQC_hourly_AB_01()
to properly use the t-test p_value. - Fixed
PurpleAirQC_hourly_AB_01()
to gracefully handle time periods when
R'sstats::t.test()
function returns an error -- e.g. when an hourly subset
contains insufficient data. - Updated
pas_downloadParseRawData()
to guarantee that all "ID" parameters are
of "character" type and not "integer".
0.9.12
AirSensor 0.9.12
- Added
sensor_filterDatetime()
function for times that are not aligned to
date boundaries. - Refactored
sensor_load()
to usesensor_join()
and other internal functions
for package consistency. - Replaced internal use of validation function
PWFSLSmoke::monitor_isMonitor()
with package internalsensor_isSensor()
.