R/pas_getColumn.R
pas_getColumn.Rd
The incoming pas
object is first filtered based on the
values of states
, pattern
, isOutside
and isParent
.
The values associated with the name
column are then returned.
This function is useful for returning values associated with specific
devices, which are represented by records with isParent = TRUE
.
pas_getColumn( pas = NULL, name = NULL, pattern = ".*", idPattern = ".*", isOutside = TRUE, isParent = TRUE )
pas | PurpleAir Synoptic pas object. |
---|---|
name | Name of the column to return. |
pattern | Text pattern used to filter sensor 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.
#> [1] 37.27556 37.88362 36.80738 36.73767 34.10921 34.10947 37.78850 34.16701 #> [9] 37.98860 37.83898