powered by
Reads and prepares geospatial point data for use with river_net().
river_net()
import_points(pts, type)
An object of class barriers or outlet depending on type, prepared for use with river_net().
barriers
outlet
type
A character string specifying the path to a shapefile of points, or an sf object containing point features.
sf
A character string indicating the type of points. Must be one of: "bars" for barriers or "out" for the outlet.
"bars"
"out"
import_points(yamaska_barriers, type = "bars") import_points(yamaska_outlet, type = "out")
Run the code above in your browser using DataLab