Skip to content
Snippets Groups Projects
Commit 53e0764b authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Updated examples in help files.

parent 030b6fe4
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,10 @@
#' @export
#' @return Sample dataframe
#' @examples
#' getPreLoadedSampleData(ChoptankRiverNitrate, interactive=FALSE)
#' Sample <- getPreLoadedSampleData(ChoptankRiverNitrate, interactive=FALSE)
getPreLoadedSampleData <- function (loadedData,interactive=TRUE){
# data <- as.data.frame(loadedData, stringsAsFactors=FALSE)
data <- getPreLoadedQWData(loadedData)
compressedData <- compressData(data,interactive=interactive)
compressedData <- compressData(loadedData,interactive=interactive)
Sample <- populateSampleColumns(compressedData)
return(Sample)
}
\ No newline at end of file
......@@ -36,9 +36,9 @@
\examples{
# Examples of how to use getDailyDataFromFile:
# Change the file path and file name to something meaningful:
#filePath <- '~/RData/' # Sample format
filePath <- '~/RData/' # Sample format
fileName <- 'ChoptankRiverFlow.txt'
#getDailyDataFromFile(filePath,fileName,separator="\\t")
\dontrun{getDailyDataFromFile(filePath,fileName,separator="\\t")}
}
\keyword{data}
\keyword{file}
......
......@@ -20,7 +20,9 @@
contains any remark codes.
}
\examples{
ChoptankRiverFlow <- ChoptankRiverFlow
rawData <- getPreLoadedData(ChoptankRiverFlow)
rawDataSample <- getPreLoadedData(ChoptankRiverNitrate)
}
\keyword{data}
\keyword{import}
......
......@@ -21,7 +21,7 @@
data frame.
}
\examples{
getPreLoadedSampleData(ChoptankRiverNitrate, interactive=FALSE)
Sample <- getPreLoadedSampleData(ChoptankRiverNitrate, interactive=FALSE)
}
\keyword{data}
\keyword{import}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment