Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% 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}