openfisca / legislation-explorer

Explore legislation formulas and parameters.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
26 stars 12 forks source link

Link parameters in formula to parameter page #123

Closed Anna-Livia closed 6 years ago

Anna-Livia commented 6 years ago

Fixes #121

This PR adds parsing of formulas to find parameters and parameter nodes and link them to their legislation explorer page.

sandcha commented 6 years ago

An example that doesn't seem to work: epargne_codeveloppement I would expect a link on ecodev.plafond_pct_rng. 🤔

For next issue on this subject? : As a user, I wouldn't understand why there isn't a link on simulation.parameters_at(period.start).impot_revenu.charges_deductibles.compte_epargne_codev as well. A link to the search result for impot_revenu.charges_deductibles.compte_epargne_codev might be helpful.

fpagnoux commented 6 years ago

An example that doesn't seem to work: epargne_codeveloppement

This formula is using the old and deprecated syntax. It's ok not to support it.