ch_read_ECDE_flows: Reads a file of WSC daily flows from ECDataExplorer (ECDE)

View source: R/ch_read_ECDE_flows.R

ch_read_ECDE_flowsR Documentation

Reads a file of WSC daily flows from ECDataExplorer (ECDE)

Description

Reads in a file WSC daily flows as returned from the Windows program ECDataExplorer, converts the Date, and omits the last 3 lines as these contain the data disclaimer and not data.

Usage

ch_read_ECDE_flows(filename)

Arguments

filename

Datafile retrieved from ECDataExplorer.

Value

Returns a dataframe with the last three rows removed:

ID

stationID

PARAM

Parameter 1 for Flow 2 for Level

Date

original charater string converted to date format

Flow

Daily mean flow m^3/sec

SYM

Quality flag

Author(s)

Paul Whitfield

Examples


# Using a dummy file name as an example
mfile <- "04JD005_Daily_Flow_ts.csv"
mdata <- ch_read_ECDE_flows(mfile)


CSHS-hydRology/CSHShydRology documentation built on Aug. 18, 2022, 4:44 p.m.