iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
54 stars 32 forks source link

ENH: Slight changes to machinery for importing aggregations #714

Open hmgaudecker opened 6 months ago

hmgaudecker commented 6 months ago

Is your feature request related to a problem?

We currently have things like aggregate_by_group_id_unterhaltsvors in modules unterhaltsvors.py. That is unnecessary scope for typos.

Describe the solution you would like to see

Call the dicts aggregate_by_group_id etc. and change the input machinery accordingly, so that downstream code still sees aggregate_by_group_id_unterhaltsvors or a suitable other candidate.

Might want to postpone until after we moved to a hierarchical structure.