Function to return available StreamCat parameters using the StreamCat API.
Usage
sc_get_params(param = NULL)
Arguments
- param
List of available parameters in the API for the following options:
name, areaofInterest, region, state, county. State and county return a data
frame that includes FIPS codes, names and state abbreviations
Syntax: param=<value1>,<value2>
Values: name|area
Value
A list of all the current StreamCat values for a given parameter
Examples
params <- sc_get_params(param='variable_info')
params <- sc_get_params(param='metric_names')
params <- sc_get_params(param='areaOfInterest')
params <- sc_get_params(param='state')
params <- sc_get_params(param='county')