Skip to content
Snippets Groups Projects
getUserInfo.Rd 1.23 KiB
Newer Older
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{getUserInfo}
\alias{getUserInfo}
\title{Import Metadata from User-Generated File}
\usage{
getUserInfo(filePath, fileName, hasHeader = TRUE, separator = ",",
  interactive = FALSE)
}
\arguments{
\item{filePath}{string specifying the path to the file}

\item{fileName}{string name of file to open}

\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.}
}
\value{
INFO dataframe with agency, site, dateTime, value, and code columns
}
\description{
Populates INFO data frame for EGRET study.
Additionally, the user will be asked for:
staAbbrev - station abbreviation, will be used in naming output files and for structuring batch jobs
constitAbbrev - constitute abbreviation
}
\examples{
filePath <- system.file("extdata", package="dataRetrieval")
filePath <- paste(filePath,"/",sep="")
fileName <- 'infoTest.csv'
INFO <- getUserInfo(filePath,fileName, separator=",",interactive=FALSE)
}
\keyword{USGS}
\keyword{WRTDS}
\keyword{data}
\keyword{import}
\keyword{service}
\keyword{web}