Get all the hydrological regions in a Hydrographic Basin
data_get_regions_in_bassin.Rd
This function retrieves regions within a specified hydrographic basin based on its ID.
Arguments
- selected_bassin_id
text ID of the selected hydrographic basin.
- opacity
list that contain numeric values clickable and not_clickable to inform the user the non available features.
- con
PqConnection to Postgresql database.
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?
opacity = list(clickable = 0.01,
not_clickable = 0.10)
data <- data_get_regions_in_bassin(selected_bassin_id = "06",
opacity = opacity,
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