diff --git a/DESCRIPTION b/DESCRIPTION index f822328713f6003ae24a1e50cb415293ac3a009c..536d8dc15a827b80aa1d358d56cb4b95e909b698 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,7 +21,6 @@ Collate: 'getDataFromFile.r' 'getParameterInfo.r' 'getPreLoadedData.r' - 'getPreLoadedQWData.r' 'checkStartEndDate.r' 'dateFormatCheck.r' 'formatCheckDate.r' diff --git a/R/getPreLoadedQWData.r b/R/getPreLoadedQWData.r deleted file mode 100644 index 939784457acdc63cb3289e5ffdf892b86abd5035..0000000000000000000000000000000000000000 --- a/R/getPreLoadedQWData.r +++ /dev/null @@ -1,20 +0,0 @@ -#' Convert Preloaded QW Data -#' -#' Imports data from data already pre-loaded into the R workspace. Specifically used to import water flow data for use in the WRTDS package. -#' For WRTDS usage, the first column is expected to be dates, the second column measured values. -#' The third column is optional, it contains any remark codes. -#' -#' @param rawData dataframe data already loaded into R workspace -#' @keywords data import -#' @return retval dataframe with dateTime, value, and code columns -getPreLoadedQWData <- function (rawData){ - retval <- as.data.frame(rawData, stringsAsFactors=FALSE) - numColumns <- ncol(retval) - i <- 1 - while (i <= numColumns) { - retval[[i]] <- as.character(retval[[i]]) - i <- i + 1 - } - retval[[1]] <- as.character(retval[[1]]) - return (retval) -} \ No newline at end of file diff --git a/man/getPreLoadedQWData.Rd b/man/getPreLoadedQWData.Rd deleted file mode 100644 index 980ba44022aee54a7f8d540a1ee45feee45058bf..0000000000000000000000000000000000000000 --- a/man/getPreLoadedQWData.Rd +++ /dev/null @@ -1,24 +0,0 @@ -\name{getPreLoadedQWData} -\alias{getPreLoadedQWData} -\title{Convert Preloaded QW Data} -\usage{ - getPreLoadedQWData(rawData) -} -\arguments{ - \item{rawData}{dataframe data already loaded into R - workspace} -} -\value{ - retval dataframe with dateTime, value, and code columns -} -\description{ - Imports data from data already pre-loaded into the R - workspace. Specifically used to import water flow data - for use in the WRTDS package. For WRTDS usage, the first - column is expected to be dates, the second column - measured values. The third column is optional, it - contains any remark codes. -} -\keyword{data} -\keyword{import} -