pas_isEmpty | R Documentation |
Convenience function for nrow(pas) == 0
.
This makes for more readable code in functions that need to test for this.
pas_isEmpty(pas = NULL)
pas |
A PurpleAir_synoptic object. |
TRUE
if no data exist in pas
, FALSE
otherwise.
library(AirSensor2)
example_pas_pm25 %>% pas_isEmpty() %>% print()
example_pas_pm25 %>% pas_filter(latitude > 90) %>% pas_isEmpty() %>% print()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.