From 19a4615535bc1c55b9eb17dc3ea15d51522b72a4 Mon Sep 17 00:00:00 2001 From: Laura DeCicco <ldecicco@usgs.gov> Date: Tue, 28 May 2013 14:01:53 -0500 Subject: [PATCH] Added imports to Roxygen. --- R/getRawQWData.r | 1 + R/getWQPData.r | 1 + R/getWaterML1Data.r | 1 + R/populateDaily.r | 1 + 4 files changed, 4 insertions(+) diff --git a/R/getRawQWData.r b/R/getRawQWData.r index 411a0f44..ec24d52a 100644 --- a/R/getRawQWData.r +++ b/R/getRawQWData.r @@ -13,6 +13,7 @@ #' @return retval dataframe with first column dateTime, and at least one qualifier and value columns #' (subsequent qualifier/value columns could follow depending on requested parameter codes) #' @export +#' @import RCurl #' @examples #' # These examples require an internet connection to run #' rawSample <- getRawQWData('01594440','01075', '1985-01-01', '1985-03-31') diff --git a/R/getWQPData.r b/R/getWQPData.r index 4e7de990..06158642 100644 --- a/R/getWQPData.r +++ b/R/getWQPData.r @@ -13,6 +13,7 @@ #' @return retval dataframe with first column dateTime, and at least one qualifier and value columns #' (subsequent qualifier/value columns could follow depending on requested parameter codes) #' @export +#' @import RCurl #' @examples #' # These examples require an internet connection to run #' getWQPData('USGS-01594440','Chloride', '', '') diff --git a/R/getWaterML1Data.r b/R/getWaterML1Data.r index aa9f7b5b..8f7e3912 100644 --- a/R/getWaterML1Data.r +++ b/R/getWaterML1Data.r @@ -6,6 +6,7 @@ #' @param obs_url string containing the url for the retrieval #' @return mergedDF a data frame containing columns agency, site, dateTime, values, and remark codes for all requested combinations #' @export +#' @import XML #' @examples #' url <- "http://waterservices.usgs.gov/nwis/dv/?format=waterml,1.1&sites=" #' sites <- "02177000" diff --git a/R/populateDaily.r b/R/populateDaily.r index bf124fd0..d9359a5c 100644 --- a/R/populateDaily.r +++ b/R/populateDaily.r @@ -10,6 +10,7 @@ #' @import zoo #' @return dataframe Daily #' @export +#' @import zoo #' @examples #' dateTime <- c('1985-01-01', '1985-01-02', '1985-01-03') #' value <- c(1,2,3) -- GitLab