HEDA_Tidy: HEDA_Tidy

Description Usage Arguments Value Examples

View source: R/HEDA_Tidy.R

Description

Format flow record into hourly record; Split record by designated season; Interpolate and smooth the record.

Usage

1
HEDA_Tidy(df, season)

Arguments

df

Dataframe to be processed

season

Subset data by season

Value

Output dataframe has 4 columns containing location id, datatime, parameter value, ann_thre. ann_thre is originally the mean annual discharge. If flow record is subset by season, ann_thre will be the mean discharge during the subset period

Examples

1
2
3
4
5
6
7
8
## Not run: 
# format the time column to time column
HPK_Sample_data$dateTime <- parse_date_time(HPK_Sample_data$dateTime,"mdy HM")

# clean subset data by season
hpk_flow_cln <- HEDA_Tidy(HPK_Sample_data, season = c(6,7,8,9))

## End(Not run)

HEDA documentation built on July 21, 2021, 1:06 a.m.

Related to HEDA_Tidy in HEDA...