Function to return available StreamCat parameters using the StreamCat API.
Examples
params <- sc_get_params(param='variable_info')
#> Rows: 147 Columns: 14
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (13): INDICATOR_CATEGORY, METRIC_NAME, AOI, YEAR, WEBTOOL_NAME, METRIC_D...
#> dbl (1): DSID
#>
#> ℹ Use `spec()` to retrieve the full column specification for this data.
#> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
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')