Post-processing#
TODO: Make this better.
Transit#
There are currently three data summaries available for transit that can be pre-computed and automatically saved to the demand database: Boardings and alightings by stops and zones, and loads in transit routes/patterns.
In case analyzing transit is within the scope of your project, the following code will generate all the pre-computable data available:
analysis = pol.analyze()
analysis.transit()
dm = transit.demand_metrics()
dm.compute_stop_to_stop_matrix(True)
dm.compute_line_loads(True)