dodgr_vertices: Extract vertices of graph, including spatial coordinates if included.
Description
Extract vertices of graph, including spatial coordinates if included.
Usage
dodgr_vertices(graph)
Value
A data.frame of vertices with unique numbers (n).
Arguments
graph
A flat table of graph edges. Must contain columns labelled
from and to, or start and stop. May also contain
similarly labelled columns of spatial coordinates (for example
from_x) or stop_lon).