From a7be3a23308e448338c6967f0684d38cdeb1386d Mon Sep 17 00:00:00 2001
From: Laura DeCicco <ldecicco@usgs.gov>
Date: Mon, 29 Apr 2013 09:50:29 -0500
Subject: [PATCH] Added call to required packages.

---
 R/populateDaily.r | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/R/populateDaily.r b/R/populateDaily.r
index c2dc6b35..7ab67c68 100644
--- a/R/populateDaily.r
+++ b/R/populateDaily.r
@@ -17,6 +17,9 @@
 #' dataInput <- data.frame(dateTime, value, code, stringsAsFactors=FALSE)
 #' Daily <- populateDaily(dataInput, 2, interactive=FALSE)
 populateDaily <- function(rawData,qConvert,interactive=TRUE){  # rawData is a dataframe with at least dateTime, value, code
+  
+  require(zoo)
+  
   localDaily <- as.data.frame(matrix(ncol=2,nrow=length(rawData$value)))
   colnames(localDaily) <- c('Date','Q')
   localDaily$Date <- rawData$dateTime
-- 
GitLab