Skip to content

Consider retaining sex in anonymize_info() #13637

@cbrnr

Description

@cbrnr

Currently, anonymize_info() preserves age (instead of the full birthday), which is both anonymized and useful for many analyses (and there is no way to disable this behavior). The same argument seems to apply to sex, but this field is currently dropped (set to 0 for unknown).

In #8130, there appeared to be consensus that keeping sex would be acceptable, but it was never implemented (or exposed via a parameter). Would it make sense to retain sex by default (in line with keeping age), or at least add a parameter to control this? I'm happy to submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions