read.flows {FlowScreen}R Documentation

Read .csv or .Rdata file of streamflows

Description

Reads .csv or .Rdata files of daily streamflow time series. Recognizes several formats, including those used by Water Survey Canada and the United States Geological Survey. Uses read.csv() or load() functions from base package, returns data frame with ID, Date, and Flow, and, if available, associated quality codes and source agency. Replaces negative values that are sometimes used to denote missing data with NAs.

Usage

read.flows(filename, convert = FALSE)

Arguments

filename

name of .csv file to be read.

convert

Boolean indicating whether or not to convert USGS flow values from cubic feet per second to cubic meters per second. (Axes are automatically labeled in cubic meters per second)

Author(s)

Jennifer Dierauer


[Package FlowScreen version 1.2.6 Index]