View source: R/pas_getLabels.R
pas_getLabels | R Documentation |
The incoming pas
object is first filtered based on the
values of stateCodes
, pattern
and isOutside
.
The values associated with the "label"
column are then returned.
pas_getLabels(pas = NULL, pattern = ".*", idPattern = ".*", isOutside = 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? |
Vector of values.
pas_getColumn
, pas_getIDs
, pas_getDeviceDeploymentIDs
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.