From 20b6f014b32964232606ca98ec63437dc9efbdb6 Mon Sep 17 00:00:00 2001 From: Laura DeCicco <ldecicco@usgs.gov> Date: Wed, 3 Apr 2013 09:39:16 -0500 Subject: [PATCH] Changed constructURL to begin date default to 1900-01-01 because the UV page requires that. --- R/constructNWISURL.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/constructNWISURL.r b/R/constructNWISURL.r index fed2e361..061063ce 100644 --- a/R/constructNWISURL.r +++ b/R/constructNWISURL.r @@ -126,7 +126,7 @@ constructNWISURL <- function(siteNumber,parameterCd,startDate,endDate,service,st if (nzchar(startDate)) { url <- paste(url,"&startDT=",startDate,sep="") } else { - url <- paste(url,"&startDT=","1851-01-01",sep="") + url <- paste(url,"&startDT=","1900-01-01",sep="") } if (nzchar(endDate)) { -- GitLab