tidy_toMonitor: Convert 'ws_tidy' data to a 'ws_monitor' object

Description Usage Arguments Value Examples

View source: R/tidy_toMonitor.R

Description

Changes read-optomized 'tidy' formatted monitor data into a write-optomized 'ws_monitor' format. If the given data is already a 'ws_monitor' object, it is returned as is. This function is the inverse of monitor_toTidy.

Usage

1

Arguments

data

Data to potentially convert.

Value

'ws_monitor' object

Examples

1
2
3
4
5
6
7
8
9
ws_monitor <- monitor_subset(
  Northwest_Megafires,
  monitorIDs = c('530470009_01', '530470010_01')
)

ws_monTidy <- monitor_toTidy(ws_monitor)
ws_monMon <- tidy_toMonitor(ws_monTidy)
head(ws_monMon$data)
head(ws_monitor$data)

PWFSLSmoke documentation built on Nov. 23, 2021, 5:06 p.m.