# NOT RUN {
library("ie2misc")
# Examples to change (an) QW file(s) interactively and non-interactively
file1 <- "https://waterdata.usgs.gov/nwis/dv?cb_00060=on&format=rdb&site_no=03584500"
file2 <- "&period=&begin_date=1904-07-01&end_date=2016-06-22"
file3 <- paste0(file1, file2) # used to truncate the file name
qw2(file3)
# USGS 03584500 ELK RIVER NEAR PROSPECT, TN
# Discharge, cubic feet per second (Mean)
qw() # default where interactive = TRUE
# Follow the file dialog instructions
qw(interactive = FALSE)
# Follow the file dialog instructions
# Example to change QW files in batch mode
qwBATCH()
# Follow the file dialog instructions
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab