The incoming pas object is first filtered based on the values of stateCodes, pattern and isOutside. 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.

pas_getDeviceDeploymentIDs(
  pas = NULL,
  pattern = ".*",
  idPattern = ".*",
  isOutside = 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?

Value

Vector of values.