PWFSLSmoke (version 1.2.100)

monitor_isTidy: Check if data is tidy-formatted ws_monitor data

Description

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

Usage

monitor_isTidy(data = NULL)

Arguments

data

Data to validate.

Value

True if the data is in a recognized 'Tidy' format, otherwise False.

Examples

Run this code
# NOT RUN {
ws_monitor <- monitor_subset(
  Northwest_Megafires,
  monitorIDs = c('530470009_01', '530470010_01')
)

ws_monTidy <- monitor_toTidy(ws_monitor)
monitor_isTidy(ws_monTidy)

# }
# NOT RUN {
monitor_isTidy(ws_monitor)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace