View source: R/readNWISpCode.R
readNWISpCode | R Documentation |
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
readNWISpCode(parameterCd)
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. |
parameterData data frame with the following information:
Name | Type | Description |
parameter_cd | character | 5-digit USGS parameter code |
parameter_group_nm | character | USGS parameter group name |
parameter_nm | character | USGS parameter name |
casrn | character | Chemical Abstracts Service (CAS) Registry Number |
srsname | character | Substance Registry Services Name |
parameter_units | character | Parameter units |
importRDB1
paramINFO <- readNWISpCode(c("01075", "00060", "00931"))
paramINFO <- readNWISpCode(c("01075", "00060", "00931", NA))
all_codes <- readNWISpCode("all")
one_extra <- readNWISpCode(c("01075", "12345"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.