Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/368.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Clarify the `current_education` label as "Current education enrolment" and add a docstring distinguishing it from `highest_education` (which captures attainment), so the variable's enrolment-vs-attainment semantics are explicit without an API-breaking rename.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ class current_education(Variable):
possible_values = EducationType
default_value = EducationType.NOT_IN_EDUCATION
entity = Person
label = "Current education"
label = "Current education enrolment"
documentation = (
"Which stage of education the person is currently enrolled in (or "
"NOT_IN_EDUCATION if none). This is enrolment status, not attainment "
"— see `highest_education` for the highest completed stage."
)
definition_period = YEAR

def formula(person, period, parameters):
Expand Down