powered by
Populates INFO data frame with additional user-supplied information. Also removes fields not related to WRTDS study.
populateSiteINFO(INFO, siteNumber, interactive = TRUE)
INFO dataframe
dataframe with value and code columns
character USGS site number
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.
# \donttest{ library(dataRetrieval) INFO <- readNWISsite('01594440') siteNumber <- "01594440" siteINFO <- populateSiteINFO(INFO, siteNumber, interactive = FALSE) # }
Run the code above in your browser using DataLab