Description Usage Arguments Value See Also Examples
View source: R/pas_getLabels.R
The incoming pas
object is first filtered based on the
values of stateCodes
, pattern
, isOutside
and isParent
.
The values associated with the "label"
column are then returned.
This function is useful for returning values associated with specific
devices, which are represented by records with isParent = TRUE
.
1 2 3 4 5 6 7 | pas_getLabels(
pas = NULL,
pattern = ".*",
idPattern = ".*",
isOutside = TRUE,
isParent = TRUE
)
|
pas |
PurpleAir Synoptic pas object. |
pattern |
Text pattern used to filter station labels. |
idPattern |
Text pattern used to filter |
isOutside |
Logical, is the sensor located outside? |
isParent |
Logical, is the record associated with a the A channel? |
Vector of values.
pas_getColumn
, pas_getIDs
, pas_getDeviceDeploymentIDs
1 2 3 4 5 6 7 | library(AirSensor)
pas <- example_pas
pas_getLabels(pas = pas) %>% head(10)
pas_getLabels(pas = pas, pattern = "back") %>% head(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.