read_field_stage: Read in a field stage file

View source: R/read_field_stage.R

read_field_stageR Documentation

Read in a field stage file

Description

Reads a field file for stage. Field file must be either a TSV (tab separated) or CSV (comma separated) file with columns named "datetime" and "stage" (in meters). Datetime format must be yyyy-mm-dd

Usage

read_field_stage(file)

Arguments

file

Path to stage TSV or CSV file

Details

will read file from an assumed standard format.

Author(s)

Luke Winslow

Examples


field_file = system.file('extdata/LakeMendota_stage_USGS05428000.csv',package='glmtools')

data <- read_field_stage(field_file)

plot(data)


USGS-R/glmtools documentation built on March 26, 2024, 5:43 p.m.