Skip to contents

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.

Usage

read_network(filename)

Arguments

filename

File to load. Can be XML or gzipped XML

Value

"nodes" and "links" tibbles in a list object.

Details

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.