Imports data from NWIS about meaured parameter based on user-supplied parameter code or codes.
This function gets the data from here: https://nwis.waterdata.usgs.gov/nwis/pmcodes
Usage
readNWISpCode(parameterCd)
Arguments
parameterCd
character of USGS parameter codes (or multiple parameter codes). These are 5 digit number codes,
more information can be found here: https://help.waterdata.usgs.gov/. To get a
complete list of all current parameter codes in the USGS, use "all" as the input.
Value
parameterData data frame with the following information:
# NOT RUN {paramINFO <- readNWISpCode(c('01075','00060','00931'))
paramINFO <- readNWISpCode(c('01075','00060','00931', NA))
# }# NOT RUN {all_codes <- readNWISpCode("all")
# }