ObservedStatsUSGS: Function to return all flow statistics for a set of USGS...

Description Usage Arguments Value Examples

View source: R/ObservedStatsUSGS.R

Description

This function accepts a list of sites, start and end date and list of desired statistic groups and returns a data frame containing requested statistics

Usage

1
  ObservedStatsUSGS(sites, startdate, enddate, stats)

Arguments

sites

list of USGS station ids

startdate

beginning water year, will be translated to 10/01

enddate

ending water year, will be translated to 09/30

stats

string containing desired groups of statistics

Value

statsout data frame containing requested statistics for each station

Examples

1
2
3
4
5
sites <- c("02177000", "02178400")
startdate <- "2009"
enddate <- "2013"
stats="magnifSeven,magStat,flowStat,durStat,timStat,rateStat,otherStat"
ObservedStatsUSGS(sites,startdate,enddate,stats)

jlthomps/EflowStats documentation built on May 19, 2019, 12:48 p.m.