The incoming pas
object is first filtered based on the
values of stateCodes
, patter
, isOutside
and isParent
.
The values associated with the "ID"
column are then returned.
This function is useful for returning values associated with specific
devices, which are represented by records with isParent = TRUE
.
pas_getIDs(
pas = NULL,
pattern = ".*",
idPattern = ".*",
isOutside = TRUE,
isParent = TRUE
)
PurpleAir Synoptic pas object.
Text pattern used to filter station labels.
Text pattern used to filter deviceDeploymentID
.
Logical, is the sensor located outside?
Logical, is the record associated with a the A channel?
Vector of values.