Learn R Programming

dataRetrieval (version 1.4.0)

populateSiteINFO: Populate Site Information Columns

Description

Populates INFO data frame with additional user-supplied information. Also removes fields not related to WRTDS study.

Usage

populateSiteINFO(INFO, siteNumber, interactive = TRUE)

Arguments

INFO

dataframe with value and code columns

siteNumber

string USGS site number

interactive

logical Option for interactive mode. If true, there is user interaction for error handling and data checks.

Value

INFO dataframe

Examples

Run this code
# NOT RUN {
#This example requires an internet connection to run
INFO <- getNWISSiteInfo('01594440')
siteNumber <- "01594440"
siteINFO <- populateSiteINFO(INFO, siteNumber)
# }

Run the code above in your browser using DataLab