-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch parameters to YAML #17
Conversation
f099cfb
to
f45f267
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's some big improvement 🎉 !
Note sure about this type
attribute though.
@@ -0,0 +1,2 @@ | |||
# see https://doc.openfisca.fr/parameters.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this almost empty file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed with Anna-Livia and Matti
@@ -0,0 +1 @@ | |||
type: node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
description: Income tax rate | ||
type: parameter | ||
values: | ||
'2012-01-01': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these quotes necessary ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
|
||
# Access the right legislation node: | ||
scale = reference_legislation_json_copy['children']['taxes']['children']['social_security_contribution'] | ||
brackets = scale['brackets'] | ||
brackets = legislation.taxes.social_security_contribution.brackets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
Connected to openfisca/openfisca-core#523
1.2.4 - #17
17.0.0
of Openfisca-Core