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

pas_getIDs(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.