pas_getDeviceDeploymentIDs: Return timeseries identifiers from filtered PurpleAir...

Description Usage Arguments Value See Also

View source: R/pas_getDeviceDeploymentIDs.R

Description

The incoming pas object is first filtered based on the values of stateCodes, pattern, isOutside and isParent. The values associated with the "deviceDeploymentID" column are then returned.

This function is useful for returning a vector of unique time series identifiers. These are used in the names of pre-generated pat files found in data archives.

Usage

1
2
3
4
5
6
7
pas_getDeviceDeploymentIDs(
  pas = NULL,
  pattern = ".*",
  idPattern = ".*",
  isOutside = TRUE,
  isParent = TRUE
)

Arguments

pas

PurpleAir Synoptic pas object.

pattern

Text pattern used to filter station labels.

idPattern

Text pattern used to filter deviceDeploymentID.

isOutside

Logical, is the sensor located outside?

isParent

Logical, is the record associated with a the A channel?

Value

Vector of values.

See Also

pas_getColumn, pas_getLabels


AirSensor documentation built on March 13, 2021, 1:07 a.m.