-
Notifications
You must be signed in to change notification settings - Fork 29
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
Refer to legislative text in parameters and variables #87
Comments
Hi @lamthuy - this is definitely possible. If it's just for manual inspection, you might find the tax-benefit system documentation site useful. But if you want to do this programmatically, you can also find the variable metadata using the from openfisca_uk import PopulationSim
sim = PopulationSim()
sim.model.tax_benefit_system.variables["income_tax"].label
>>> 'Income Tax liability' |
Hi Nikhil, The Nz one is much better: http://nz.openfisca.org/ See for instance: http://nz.openfisca.org/variables/social_security__has_orphaned_child_in_family if you click on reference takes you here: https://www.legislation.govt.nz/act/public/1964/0136/latest/whole.html#DLM361606 That document tells us exactly from which part of the policy document the rule was created. So we have a full text description of the rule or formula. |
Thanks for the reference @lamthuy - the NZ web app does indeed look very cool, and I like the expanded computation tree. It'd be nice to write something similar for the UK, and have some more rigorous referencing in the source code: where references are provided, they can be from a mixture of different sources, including gov.uk. The project is still in its infancy at the moment, so there's definitely more of this to be added. |
Sure, if there is a direct reference link to the text for each coded rule, the reference will be very helpful. |
Hi,
Is there any way to retrieve the parrallel text that correspond to the rule encoded? It will be useful for research on rule extract from text?
The text was updated successfully, but these errors were encountered: