Newer
Older
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getSampleDataFromFile}
\alias{getSampleDataFromFile}
\title{Import Sample Data for WRTDS}
\usage{
getSampleDataFromFile(filePath, fileName, hasHeader = TRUE, separator = ",",
interactive = TRUE)
\item{hasHeader}{logical true if the first row of data is the column headers}
\item{separator}{string character that separates data cells}
\item{interactive}{logical Option for interactive mode. If true, there is user interaction for error handling and data checks.}
Imports data from a user-supplied file, and converts it to a Sample data frame (including summing multiple constituents), appropriate for WRTDS calculations. See
section 3.4 of the vignette for more details.
filePath <- system.file("extdata", package="dataRetrieval")
filePath <- paste(filePath,"/",sep="")
Sample <- getSampleDataFromFile(filePath,fileName, separator=";",interactive=FALSE)
\keyword{USGS}
\keyword{WRTDS}
\keyword{data}
\keyword{file}
\keyword{import}