Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Support any country #76

Closed
fpagnoux opened this issue Jan 19, 2017 · 5 comments
Closed

Support any country #76

fpagnoux opened this issue Jan 19, 2017 · 5 comments
Assignees

Comments

@fpagnoux
Copy link
Member

fpagnoux commented Jan 19, 2017

As a Producer from a new country,
I can use the web-api to expose the formulas I add,
So that they can be computed over HTTP


The web api didn't work out of the box for openfisca Senegal.

@fpagnoux
Copy link
Member Author

fpagnoux commented Jan 19, 2017

1st problem

There is a reference to the TaxBenefitSystem attribute DECOMP_DIR. A default TBS doesn't have such an attribute.

I understand the basic concept of a decomposition, but not everything. For instance, some decomposition node have a color attribute. Is it styling for the UI ?

@benjello
Copy link
Member

Yes it is.

@fpagnoux
Copy link
Member Author

Ok. There are some big issues with decompositions (style elements in a country package, copy paste of variables labels in description, logic repetition) but it is too big to deal with now. I will just find a workaround.

@fpagnoux
Copy link
Member Author

2nd problem

Some general business (such as parsing the periods) is done in make_json_or_python_to_test_case in france country package.

@fpagnoux
Copy link
Member Author

Wooo finished, that was a big block !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants