Newer
Older
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getDataFromFile}
\alias{getDataFromFile}
\title{Basic Data Import for Water Flow Data}
\usage{
getDataFromFile(filePath, fileName, hasHeader = TRUE, separator = ",")
\item{hasHeader}{logical true if the first row of data is the column headers}
\item{separator}{string character that separates data cells}
Imports data from user-supplied data file. 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.
}
\examples{
# Examples of how to use getDataFromFile:
# Change the file path and file name to something meaningful:
filePath <- system.file("extdata", package="dataRetrieval")
filePath <- paste(filePath,"/",sep="")
ChopData <- getDataFromFile(filePath,fileName, separator="\\t")
}
\keyword{data}
\keyword{file}
\keyword{import}