(Rules as Code + OpenFisca) training series, session five.
Allows for large scale simulations
Useful for modelling and large datasets
Documentation:
http://openfisca.org/doc/openfisca-python-api/index.html
"OpenFisca works the same if there is one person, seven, or seven million in the modelled situation."
Leverages Vector computing via the NumPy package
Trace feature allows for analysis of simulation results
Matches the Web API functionality
Test cases can be written in Python
Requires the SimulationBuilder and a CountryTaxBenefitSystem
from openfisca_core.simulation_builder import SimulationBuilder
from openfisca_country_template import CountryTaxBenefitSystem
Data can come from database, csv file etc.
At a minimum a simulation requires:
Explore the OpenFisca documentation for topics like:
Extensive documentation can be found on the OpenFisca documentation site
Hotkeys
f
: full screen
s
: speaker notes
b
: pause
←
/ →
/ space
: navigate through slides
cltr
/ alt
+ click to zoom