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
## Not run: 
library(MazamaWebUtils)
df <- airsis_createRawDataframe(startdate=20160901, enddate=20161015, provider='USFS', unitID=1012)
df <- raw_enhance(df)
rawPlot_timeseries(df, tlim=c(20160908,20160917))

## End(Not run)

PWFSLSmoke documentation built on Oct. 6, 2018, 1:03 a.m.