BetterRules / Porridge

Visualisation tool / experiment for Rapu Ture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor data modelling to use sensible structure for examples and teach query how to parse into structure for openfisca

mischa-s opened this issue · comments

Change src/openfisca/data from
acc__earner: { "2010-08-03": true }, acc__has_cover: { "2010-08-03": true }, acc_part_2__suffered_personal_injury: { "2010-08-03": true },
to
acc__earner: true acc__has_cover: true acc_part_2__suffered_personal_injury: true

In openfisca/Query
const queryOF = (person, handleEligibility, dateRequested: => { queryPerson.map(item => item: { dateRequested: true})