Description Usage Arguments Value
Finds all monitoring stations within a target basin
1 2 | upstream_stations_from_delineation(basin, stations, target_station,
station_number = "station_number")
|
basin |
Either a spatialpolygonsdataframe of the target basin, or the path to a shapefile of the target basin. If a path is provided, the function will attempt to use the sf package to hasten the shapefile read |
stations |
SpatialPointsDataFrame of all hydrometric stations |
target_station |
character, station number corresponding to the basin that is provided. If provided, prevents the target station from being included in the results as upstream of itself |
station_number |
character, name of column in stations SpatialPointsDataFrame which corresponds to the station number |
A character vector of station IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.