import_rivers | R Documentation |
Reads and prepares geospatial river line data for use in river_net()
.
Only the largest fully connected component of the network is retained;
river lines that are part of disconnected secondary networks are discarded.
import_rivers(rivers, quiet = FALSE)
rivers |
A character string specifying the path to a shapefile of river lines,
or an |
quiet |
Logical. If |
An object of class rivers
, suitable for use with enforce_dendritic()
or as input to river_net()
.
rivers_in <- import_rivers(yamaska_rivers)
# This can also be done quietly to omit plotting river lines after importing
rivers_in <- import_rivers(yamaska_rivers, quiet = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.