| ox_as_tidygraph | R Documentation |
tidygraph table graphReturns the graph as a tidygraph::tbl_graph(), dropping geometry (node
coordinates are kept as x/y columns).
ox_as_tidygraph(g, directed = TRUE)
g |
An osm_graph. |
directed |
Build a directed graph. Default |
A tbl_graph.
g <- example_osm_graph()
ox_as_tidygraph(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.