From 598324197d820f8e2604ef4cc74e4e9c3a50aac8 Mon Sep 17 00:00:00 2001
From: Laura DeCicco <ldecicco@usgs.gov>
Date: Tue, 23 Apr 2013 10:03:30 -0500
Subject: [PATCH] Fixed start origin.

---
 R/constructNWISURL.r | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/constructNWISURL.r b/R/constructNWISURL.r
index 028e0541..9a42b274 100644
--- a/R/constructNWISURL.r
+++ b/R/constructNWISURL.r
@@ -137,7 +137,7 @@ constructNWISURL <- function(siteNumber,parameterCd,startDate,endDate,service,st
           if (nzchar(startDate)) {
             url <- paste(url,"&startDT=",startDate,sep="")
           } else {
-            startorgin <- "1850-01-01"
+            startorgin <- "1851-01-01"
             if ("uv" == service) startorgin <- "1900-01-01"            
             url <- paste(url,"&startDT=",startorgin,sep="")
           }
-- 
GitLab