Get Minimum and Maximum Strahler Values for a Selected Region
data_get_min_max_strahler.Rd
This function retrieves the minimum and maximum values of the Strahler metric for a specified region.
Arguments
- selected_region_id
The ID of the selected region.
- con
PqConnection to Postgresql database.
Value
A data frame containing two columns: 'min' and 'max', representing the minimum and maximum Strahler values for the specified region.
Examples
con <- db_con()
#> Error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
#> Is the server running locally and accepting connections on that socket?
data <- data_get_min_max_strahler(selected_region_id = 11, con = con)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'conn' in selecting a method for function 'sqlInterpolate': object 'con' not found
DBI::dbDisconnect(con)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'conn' in selecting a method for function 'dbDisconnect': object 'con' not found