pas_getIDs: Return IDs from filtered PurpleAir Synoptic objects

View source: R/pas_getIDs.R

pas_getIDsR Documentation

Return IDs from filtered PurpleAir Synoptic objects

Description

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.

Usage

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.

See Also

pas_getColumn, pas_getLabels


MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.