raw_enhance: Process Raw Monitoring Data to Create raw_enhance Object

Description Usage Arguments Value Examples

View source: R/raw_enhance.R

Description

Processes raw monitor data to add a uniform time axis and consistent data columns that can be handled by various raw~ functions. All original raw data is retained, and the following additional columns are added:

The datetime column in the incoming dataframe may have missing hours. This time axis is expanded to a uniform, hourly axes with missing data fields added for data columns.

Usage

1

Arguments

df

raw monitor data, as created by airsis_createRawDataframe or wrcc_createRawDataframe

Value

Dataframe with original raw data, plus new columns with raw naming scheme for downstream use.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
# Fail gracefully if any resources are not available
try({

library(PWFSLSmoke)
df <- airsis_createRawDataframe(startdate=20160901, enddate=20161015, provider='USFS', unitID=1012)
df <- raw_enhance(df)
rawPlot_timeseries(df, tlim=c(20160908,20160917))

}, silent = FALSE)

## End(Not run)

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