HEDA_Tidy {HEDA}R Documentation

HEDA_Tidy

Description

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

Usage

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


## 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)

[Package HEDA version 0.1.5 Index]