populateSiteINFO: Populate Site Information Columns

View source: R/populateSiteINFO.r

populateSiteINFOR Documentation

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

character USGS site number

interactive

logical Option for interactive mode. If TRUE, there is user interaction for error handling and data checks. Default is TRUE. If running in batch, should be set to FALSE.

Value

INFO dataframe

Examples


library(dataRetrieval)
INFO <- readNWISsite('01594440')
siteNumber <- "01594440"
siteINFO <- populateSiteINFO(INFO, siteNumber, interactive = FALSE)


EGRET documentation built on April 18, 2023, 5:09 p.m.