Skip to content

Feature Request: Improve handling of age unit in derivations #133

@bundfussr

Description

@bundfussr

Feature Idea

At the moment, the documentation doesn't mention what happens when the age units in the data and the metadata doesn't match. The AI chat bot guesses that the units are converted:

Image

Unfortunately, that isn't true.

I would suggest to describe the behavior of the derivations in the documentation.

The function could also be updated to convert the age in data and metadata to a unified unit (derive_var_age_years() could be helpful for this). It would also be helpful if the derivations issue a warning if records from the input data couldn't be matched to the metadata and maybe even provide these records (like for duplicates in admiral functions).

Relevant Input

No response

Relevant Output

No response

Reproducible Example/Pseudo Code

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions