Skip to content

Add individual attributes upstream in the pipeline #78

Description

@Hussein-Mahfouz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions