network-wrangler / network_wrangler

A Python Library for Managing Travel Model Network Scenarios
https://network-wrangler.github.io/network_wrangler
Apache License 2.0
15 stars 5 forks source link

🚀 Order fields in I/O #395

Open e-lo opened 1 month ago

e-lo commented 1 month ago

User Story

As a user reviewing networks I'd like the output network files to have columns ordered in a predictable and sensible manner so I know where to find them

Requested by @RachelWikenMC

e-lo commented 1 month ago

@RachelWikenMC can you LMK if the current ordering based on the data model order meets your needs? or if you would like a different ordering?

If the latter, then it would be awesome if we could implement it in the data model (just-reordering that) rather than having to specify it explicitly.

RachelWikenMC commented 1 month ago

that list under data model order isn't all the variables I'm expecting to see. I'm not fussy on this topic as long as we keep like variables grouped - so A and B at top, drive,walk, bike access all together and walk/bike values close to that. AssignGroup and RCnum close together, and Managed, MNPASS_PAY and MNPASS_CODE together. So that when I'm checking network variables on a single topic (like HOV facilities for example) my eyes don't have to jump around in the variable list. The output in Version 1 does not keep like variables grouped. I'm find to reorder in data model and not add as specific output code in the notebook.