Skip to content

Add sets as input to set operators #663

@antonio-olleros

Description

@antonio-olleros

Motivation

Currently, set operators only allow datasets as input. But they could also take set operators. SO far, sets are rather static, but by adding #662 this can be dynamic and therefore very useful. For instance, if I want to get the values that exist in a component that don't exist in other, I can write:
setdiff(get_set(DS1#ID1), get_set(DS2#ID2))

With value domains we could also do interesting things like getting the EU countries that are not Euro Area: setdiff(vd_eu, vd_euro_area)

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