Module popdat::od [−][src]
This is an alternative pipeline for generating a Scenario, starting from origin-destination data (also called desire lines), which gives a count of commuters between two zones, breaking down by mode.
Maybe someday, we’ll merge the two approaches, and make the first generate DesireLines as an intermediate step.
Structs
DesireLine | This describes some number of commuters living in some named zone, working in another (or the same zone), and commuting using some mode. |
NormalDistribution | A normal distribution of Durations. |
Options | |
Zone |
Functions
create_zones | |
disaggregate | Generates a scenario from aggregated origin/destination data (DesireLines). The input describes an exact number of people, who live in one zone and work in another (possibly the same) and commute using some mode. For each of them, we just need to pick a specific home and workplace from the zones, and use the Options to pick departure times. We’ll wind up creating people who just take two trips daily: home -> work -> home. |