--- title: "Data function - set-union" slug: "set-union-data-function" updated: 2022-07-27T14:24:03Z published: 2022-07-27T14:24:03Z canonical: "code.tag.bio/set-union-data-function" --- > ## Documentation Index > Fetch the complete documentation index at: https://code.tag.bio/llms.txt > Use this file to discover all available pages before exploring further. # set-union ### set-union **creates: *categorical variable*** A `set-union` data function evaluates the intersection, i.e. the OR operation, for two or more categorical variables, data functions, or argument-references. | **attribute** | **type** | **description** | **options** | | --- | --- | --- | --- | | `criteria` | array | categorical data | `variable``data_function``argument_reference` | ``` { "data_function_type": "set-union", "criteria": [ ..., ... ] } ```