PolicyEngine / policyengine-core

Core microsimulation engine for PolicyEngine models. Forked from OpenFisca-Core.
https://policyengine.github.io/policyengine-core
GNU Affero General Public License v3.0
14 stars 19 forks source link

Enable flat file input option #226

Closed nikhilwoodruff closed 1 month ago

nikhilwoodruff commented 1 month ago

We should enable CSV inputs from a flat file. We could adopt:

variable_name, variable_name__specific_time_period 0, 1 which would load 0 into the default time period of input for variable_name, and 1 into specific_time_period/variable_name

nikhilwoodruff commented 1 month ago

In a flat file, we could adopt the standard of "everything is person-level, for group variables we take the value from the first person"