getNWISDaily
From an email:
""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Back in January, I tried using getNWISDaily
to pull groundwater water quality data and to my surprise (at the time) it worked! However, in trying this stunt again today, it didn't work, which has me wondering if 1) getNWISDaily
has been modified in such a way over the last couple of months to temporarily disable this functionality or 2) it was a fluke that it worked in the first place? For example, gw site 390208119433201 and param code 00631 (nitrate) has data (see screen shot below), but the following script won't seem to pull the data. Is there a new function for pulling gw data?
Thanks for your consideration. Best, Eric
library(EGRET)
library(dataRetrieval)
StartDate <- ""
EndDate <- ""
siteNumber <- "390208119433201"
QParameterCd <- "00631"
Daily <- readNWISDaily(siteNumber, QParameterCd, StartDate, EndDate)
proof that the data is there:
http://nwis.waterdata.usgs.gov/nwis/qwdata?site_no=390208119433201&agency_cd=USGS&format=serial_rdb