ActivitySim / activitysim

An Open Platform for Activity-Based Travel Modeling
https://activitysim.github.io
BSD 3-Clause "New" or "Revised" License
191 stars 98 forks source link

Export activity list #338

Open gregmacfarlane opened 4 years ago

gregmacfarlane commented 4 years ago

Currently, activitysim only exports a list of trips, final_trips.csv

trip_id person_id household_id tour_id primary_purpose trip_num outbound trip_count purpose destination origin depart trip_mode
8684833 26478 26478 1085604 eatout 1 TRUE 1 eatout 7 8 11 WALK
8684837 26478 26478 1085604 eatout 1 FALSE 1 Home 8 7 11 WALK

There are numerous applications where it would be more efficient to have also a list of activities, final_activities.csv,

activity_ id person_id household_id act_num purpose location start_time end_time
8684833 26478 26478 1 Home 7 3 11
8684834 26478 26478 2 eatout 8 11 12
8684835 26478 26478 3 Home 7 12 27
gregmacfarlane commented 4 years ago

To be clear, I'm happy to contribute to this myself. But I'm starting the conversation with an issue here.

bstabler commented 4 years ago

This would be a cool feature, thanks for the suggestion