monitor_toTidy: Convert 'ws_monitor' data to a tidy format

Description Usage Arguments Value Examples

View source: R/monitor_toTidy.R

Description

Changes write-optomized 'ws_monitor' formatted data into a read-optomized 'tidy' format that is useful for 'tidyverse' functions. If the given data is already in a tidy format, it is returned as is.

Usage

1

Arguments

data

Data to potentially convert.

Value

'Tidy' formatted 'ws_monitor' data.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(PWFSLSmoke)

ws_monitor <- monitor_subset(
  Northwest_Megafires,
  monitorIDs = c('530470009_01', '530470010_01')
)

ws_monTidy <- monitor_toTidy(ws_monitor)

## Not run: 
ws_monTidy2 <- monitor_toTidy(ws_monTidy)

## End(Not run)

PWFSLSmoke documentation built on July 8, 2020, 7:19 p.m.