Verifies that the given data can be treated as tidy-formatted data. This is done by verifying that the data is a tibble data.frame object with columns for information in all mts_monitor objects.

monitor_isTidy(data = NULL)

Arguments

data

Data object to validate.

Value

TRUE if the data is in a recognized 'Tidy' format, otherwise FALSE

Examples

library(AirMonitor)

monitor <-
  NW_Megafires %>%
  AirMonitor::monitor_select(
    c('99a6ee8e126ff8cf_530470009_04', '123035bbdc2bc702_530470010_04')
  )

mts_tidy <- monitor_toTidy(monitor)
monitor_isTidy(mts_tidy)
#> [1] TRUE

if (FALSE) {
monitor_isTidy(monitor)
}