Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add individual attributes upstream in the pipeline #78

Open
Hussein-Mahfouz opened this issue Dec 10, 2024 · 0 comments
Open

Add individual attributes upstream in the pipeline #78

Hussein-Mahfouz opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Hussein-Mahfouz
Copy link
Collaborator

I think more individual attributes make the output useful for different purposes. In my use case, I have needed (and added) the following: isStudent, hasPTsubscription, isPassenger, sex, CarAvailability, BicycleAvailability, hasLicence. See #77

I am currently implementing this in scripts/5_acbm_to_matsim_xml.py which is the last part of the pipeline. It would be useful to:

  • migrate this upstream. That way the individuals.csv output from scripts/3.3_assign_facility_all.py could have more individual data and would be useful for non matsim usecases. Alternatively we can update the individuals.csv in scripts/5_acbm_to_matsim_xml.py and overwrite it
  • Add a config argument for the user to specify what additional columns from the NTS they want in the final output. I think these should just be variable from the individuals and households nts data

Perhaps this is something that could be implemented in the cols_for_assignment() logic, or a similar implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant