Retrieves the stage-to-flow rating curve data for a gauge. Rating curves define the relationship between water level (stage) and discharge (flow).
Usage
nwps_gauge_ratings(
identifier,
limit = 10000,
sort = c("ASC", "DESC"),
only_tenths = FALSE
)Arguments
- identifier
Character. Gauge LID (e.g., "PTTP1") or USGS ID.
- limit
Integer. Maximum number of rating points to return. Default is 10000.
- sort
Character. Sort order by stage value. One of
"ASC"(ascending, default) or"DESC"(descending).- only_tenths
Logical. If
TRUE, filter results to only include stage values at tenths-of-foot increments. Default isFALSE.