Skip to contents

This function filters a dataset of divides (`NewDivides`) by a specified `divide_id` and selects the corresponding basin. It then finds the sites within that basin from the dataset `All_Sites_sf`.

Usage

select_basin(divide = "")

Arguments

divide

A character string representing the `divide_id` to filter by. Default is an empty string.

Value

A data frame containing the sites (`All_Sites_sf`) that are within the specified basin.