openfisca-country_template@7.1.1
This model is created with OpenFisca, a free and open-source computation engine that makes law computable in a collaborative and transparent way.
Search through the history and values of the currently modelled 10 law parameters and read the formula code that makes 18 variables computable.
Use the API to calculate them in any app.
household
households
All the people in a family or group who live together in the same place.
This group entity defines the following roles:Role | Plural | Description | Maximal number of persons |
child | children | Unlimited | |
parent | parents |
Household is an example of a group entity. A group entity contains one or more individual·s. Each individual in a group entity has a role (e.g. parent or children). Some roles can only be held by a limited number of individuals (e.g. a 'first_parent' can only be held by one individual), while others can have an unlimited number of individuals (e.g. 'children'). Example: Housing variables (e.g. housing_tax') are usually defined for a group entity such as 'Household'. Usage: Check the number of individuals of a specific role (e.g. check if there is a 'second_parent' with household.nb_persons(Household.SECOND_PARENT)). Calculate a variable applied to each individual of the group entity (e.g. calculate the 'salary' of each member of the 'Household' with salaries = household.members("salary", period = MONTH); sum_salaries = household.sum(salaries)). For more information, see: https://openfisca.org/doc/coding-the-legislation/50_entities.html