monitor_isTidy: Check if data is tidy-formatted mts_monitor data

View source: R/monitor_isTidy.R

monitor_isTidyR Documentation

Check if data is tidy-formatted mts_monitor data

Description

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.

Usage

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)

## Not run: 
monitor_isTidy(monitor)

## End(Not run)


MazamaScience/AirMonitorPlots documentation built on May 8, 2024, 6:16 a.m.