read_network | R Documentation |
Loads a MATSim XML network file, creating a nodes tibble and a links tibble. Any node and link attribute records in the network are stored as additional columns in the respective node and link tibbles.
read_network(filename)
filename |
File to load. Can be XML or gzipped XML |
The links table is automatically joined with the nodes table so that node x/y coordinates (and any other node attributes) are available in the links table without additional processing.
"nodes" and "links" tibbles in a list object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.