Skip to content

Update VariableSelector #276

@MagnusEngh

Description

@MagnusEngh

Description

VariableSelector should be upgraded to centralize config of variables (such as time_units) and keep more information about variables.

Configuring VariableSelector using a dict method instead of list as is currently done in set_variables would enable modules to have more useful defaults, such as automatically setting time_units.

Should cover periods such as

  • year
  • quarter
  • tertiary
  • month
  • week

Setting a variable as being the primary ident locking its name and labels as 'ident' making it simpler to reuse code from other apps.
Also enable adding secondary idents such as 'foretak" and 'bedrift', with some useful default behaviors.

And have settings for a variable being a group/strata/classification variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions