Projectors#
The policyengine_core.projectors
module contains classes that allow formulas to ask relational questions about entities. For example, a formula for a child benefit for a particular child might require the earnings of said child’s parent.
Projector#
EntityToPersonProjector#
- class policyengine_core.projectors.EntityToPersonProjector(entity: Population, parent: Projector = None)[source]#
For instance person.family.
FirstPersonToEntityProjector#
- class policyengine_core.projectors.FirstPersonToEntityProjector(entity: GroupPopulation, parent: Projector = None)[source]#
For instance famille.first_person.