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

Updated help file examples.

parent abc6f1ac
No related tags found
No related merge requests found
......@@ -28,9 +28,10 @@ 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 <- '~/RData/' # Sample format
filePath <- system.file("extdata", package="dataRetrieval")
filePath <- paste(filePath,"/",sep="")
fileName <- 'ChoptankRiverFlow.txt'
\dontrun{getDataFromFile(filePath,fileName, separator="\\t")}
getDataFromFile(filePath,fileName, separator="\\t")
}
\keyword{data}
\keyword{file}
......
......@@ -19,7 +19,6 @@ the desired NWIS site, parameter code, statistic, startdate
and enddate.
}
\examples{
url <- "http://waterservices.usgs.gov/nwis/dv/?format=waterml,1.1&sites="
sites <- "02177000"
startDate <- "2012-09-01"
endDate <- "2012-10-01"
......
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