Description Usage Arguments Value Examples
This function accepts a list of sites, start and end years and returns a data frame containing requested flow data
1 | get_local_data(data_path, start_year = "", end_year = "", sep_char = ",")
|
data_path |
path to directory containing data files |
start_year |
beginning water year, will be translated to 10/01 |
end_year |
ending water year, will be translated to 09/30 |
sep_char |
string containing the datafile separator, default is comma |
dataOut data frame containing requested flow data for the stations
1 2 3 4 5 | data_path <- system.file("extdata", package="NWCCompare")
data_path <- paste(data_path, "modeled", sep="/")
start_year <- "2007"
end_year <- "2010"
localData <- get_local_data(data_path,start_year=start_year,end_year=end_year)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.