All functions

AIRSENSOR_1_PAT_FIELDS

Comma-separated list of fields needed to create AirSensor pat objects.

APIKeys

Work with API keys

AirSensor

Data access and analysis functions for PurpleAir sensor data

ArchiveBaseDir

Base directory for pre-generated data

ArchiveBaseUrl

Base URL for pre-generated data

PurpleAirQC_hourly_AB_00()

Apply hourly aggregation QC using "AB_OO" algorithm

PurpleAirQC_hourly_AB_01()

Apply hourly aggregation QC using "AB_O1" algorithm

PurpleAirQC_hourly_AB_02()

Apply hourly aggregation QC using "AB_O2" algorithm

PurpleAirQC_hourly_AB_03()

Apply hourly aggregation QC using "AB_O4" algorithm

PurpleAirSoH_dailyABFit()

Daily linear model fit values

PurpleAirSoH_dailyABtTest()

Daily t-test

PurpleAirSoH_dailyMetFit()

Daily fit values

PurpleAirSoH_dailyPctDC()

Daily DC Signal percentage

PurpleAirSoH_dailyPctReporting()

Daily reporting percentage

PurpleAirSoH_dailyPctValid()

Daily valid percentage

PurpleAirSoH_dailyToIndex_00()

Daily state of health index

SCAQMD_SENSOR_INDICES

Comma separated list of SCAQMD sensor indices.

SENSOR_DATA_AVG_PM25_FIELDS

Comma-separated list of fields needed to create a pas object.

SENSOR_DATA_PM25_FIELDS

Comma-separated list of fields needed for PM2.5 data analysis.

SENSOR_HISTORY_PM25_FIELDS

Comma-separated list of fields needed for PM2.5 data analysis.

example_pas

Example Purple Air Synoptic dataset

example_pat

Example PurpleAir Timeseries dataset

example_sensor

Example AirSensor Timeseries dataset

example_sensor_scaqmd

Example AirSensor Timeseries dataset

getArchiveBaseDir()

Get data archive base directory

getArchiveBaseUrl()

Get data archive base URL

initializeMazamaSpatialUtils()

Initialize MazamaSpatialUtils package

multi_ggplot()

Display multiple plots on one page

pa_checkAPIKey()

Check the validity and type for the provided api_key.

pa_createGroup()

Create a new group.

pa_createMember()

Create a new member within the specified group.

pa_deleteGroup()

Delete the specified group.

pa_deleteMember()

Delete a member from the specified group.

pa_getGroupDetail()

Retrieve all members of the specified group.

pa_getGroupsList()

Retrieve all groups owned by the provided api_key.

pa_getMemberData()

Retrieve recent data for a single sensor in the specified group.

pa_getMemberHistory()

Retrieve historical data for a single sensor of the specified group.

pa_getMembersData()

Retrieve current data for all sensors in the specified group.

pa_getSensorData()

Retrieve the latest data of a single sensor.

pa_getSensorHistory()

Retrieve historical data for a single sensor.

pa_getSensorHistoryCSV()

Retrieve historical data for a single sensor as CSV.

pa_getSensorsData()

Retrieve the latest data of multiple sensors matching the provided parameters.

pas_addUniqueIDs()

Add Unique Identifiers to PurpleAir Synoptic Data

pas_createNew()

Create a new PurpleAir synoptic dataset

pas_downloadParseRawData()

Download synoptic data from PurpleAir

pas_enhanceRawData()

Enhance synoptic data from PurpleAir

pas_filter()

General purpose filtering for PurpleAir Synoptic objects

pas_filterArea()

Rectangle area filtering for PurpleAir Synoptic objects

pas_filterNear()

Find PurpleAir sensors within radial distance

pas_getColumn()

Return column of data from filtered PurpleAir Synoptic objects

pas_getDeviceDeploymentIDs()

Return timeseries identifiers from filtered PurpleAir Synoptic objects

pas_getIDs()

Return IDs from filtered PurpleAir Synoptic objects

pas_getLabels()

Return labels from filtered PurpleAir Synoptic objects

pas_hasSpatial()

Test for spatial metadata in pa_synoptic object

pas_isEmpty()

Test for an empty pa_synoptic object

pas_isPas()

Test for correct structure in a pa_synoptic object

pas_leaflet()

Leaflet interactive map of PurpleAir sensors

pas_load()

Load PurpleAir synoptic data

pas_palette()

Color palettes for PurpleAir

patData_aggregate()

Aggregate PurpleAir Timeseries Data

pat_aggregate()

Aggregate PurpleAir Timeseries Object

pat_aggregateOutlierCounts()

Aggregate data with count of outliers in each bin

pat_createAirSensor()

Create an Air Sensor object

pat_createNew()

Create a new PurpleAir timeseries dataset.

pat_dailySoH()

Daily state of health

pat_dailySoHIndexPlot()

Daily State of Health metric plot

pat_dailySoHIndex_00()

State of Health index plot

pat_dailySoHPlot()

Daily State of Health metric plot

pat_distinct()

Retain only distinct data records in pat$data

pat_downloadParseRawData()

Download time series data from PurpleAir

pat_dygraph()

Interactive time series plot

pat_externalFit()

Linear model fitting of PurpleAir and federal PWFSL time series data

pat_extractData() pat_extractMeta()

Extract dataframes from pat objects

pat_filter()

General purpose data filtering for PurpleAir Timeseries objects

pat_filterDate()

Date filtering for PurpleAir Timeseries objects

pat_filterDatetime()

Datetime filtering for PurpleAir Timeseries objects

pat_internalFit()

Linear model fitting of channel A and B time series data

pat_isEmpty()

Test for an empty pat object

pat_isPat()

Test for correct structure in a pat object

pat_join()

Join PurpleAir time series data for a single sensor

pat_load()

Load PurpleAir time series data for a time period

pat_loadLatest()

Load PurpleAir time series data for a week

pat_loadMonth()

Load PurpleAir time series data for a month

pat_monitorComparison()

Comparison of Purple Air and federal monitoring data

pat_multiPlot() pat_multiplot()

Display multiple plots on one page

pat_outliers()

Detect and replace time series outliers

pat_qc()

Apply quality control on PurpleAir Timeseries object

pat_sample()

Sample PurpleAir time series data

pat_scatterPlotMatrix()

Draw a matrix of PurpleAir Timeseries data scatter plots

pat_trimDate()

Trim a PurpleAir Timeseries object to full days

pat_upgrade()

Upgrade PurpleAir Timeseries

pwfsl_load()

Get PWFSLSmoke monitoring data

pwfsl_loadLatest()

Get PWFSLSmoke monitoring data

scatterPlot()

Matrix scatter plot variables in a data frame

sensor_calendarPlot()

Plot time series values in conventional calendar format

sensor_extractData() sensor_extractMeta()

Extract dataframes from airsensor objects

sensor_filter()

Data filtering for AirSensor objects

sensor_filterDate()

Date filtering for AirSensor objects

sensor_filterDatetime()

Datetime filtering for AirSensor objects

sensor_filterMeta()

Metadata filtering for AirSensor objects

sensor_isEmpty()

Test for an empty sensor object

sensor_isSensor()

Test for correct structure in a sensor object

sensor_join()

Join airsensor objects from different time periods

sensor_load()

Load hourly-aggregated PurpleAir data

sensor_loadLatest()

Load hourly-aggregated PurpleAir data for a week

sensor_loadMonth()

Load hourly-aggregated PurpleAir data for a month

sensor_loadYear()

Load hourly-aggregated PurpleAir data for a month

sensor_polarPlot()

Plot bivariate polar plots with guassian smoothing

sensor_pollutionRose()

Pollution rose plot

setArchiveBaseDir()

Set data archive base directory

setArchiveBaseUrl()

Set data archive base URL

spatialIsInitialized()

Check if MazamaSpatialUtils has been initialized

timeseriesTbl_multiPlot()

Faceted plot of a timeseries tibble