getADAPSData: Function to return adaps_data_all df from NWISWeb or...

Description Usage Arguments Value Examples

Description

This function accepts an NWIS gage site id, an NWIS precip site id, a StartDate, an EndDate, a timezone and file names as needed

Usage

1
getADAPSData(siteNo, StartDt, EndDt, precipSite, dataFile = "", tzCode = "")

Arguments

siteNo

NWIS gaging station id

StartDt

a date to start data pulls

EndDt

a date to end data pulls

precipSite

NWIS precipitation station id

dataFile

string of data file path and name

tzCode

a timezone specification for the data

Value

adaps_data_all data frame containing merged ADAPS data for the requested site and date range

Examples

1
2
3
4
5
6
7
## Not run: 
siteNo <- "424314090240601"
StartDt <- '2008-05-30'
EndDt <- '2008-06-15'
getADAPSData(siteNo,StartDt,EndDt,siteNo,dataFile,tzCode="America/Chicago")

## End(Not run)

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