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`.
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`.