pas_isEmpty: Test for an empty _pa_synoptic_ object

Description Usage Arguments Value Examples

View source: R/utils-paSynoptic.R

Description

Convenience function for nrow(pas) == 0. This makes for more readable code in functions that need to test for this.

Usage

1

Arguments

pas

A pa_synoptic object.

Value

TRUE if no data exist in pas, FALSE otherwise.

Examples

1
2
3
4
pas <- example_pas
pas_isEmpty(pas)
pas <- pas %>% pas_filter(ID < 0)
pas_isEmpty(pas)

AirSensor documentation built on March 13, 2021, 1:07 a.m.