--- title: "Data function - numeric" slug: "numeric-data-reference" updated: 2022-12-14T00:44:31Z published: 2022-12-14T00:44:31Z canonical: "code.tag.bio/numeric-data-reference" --- > ## 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. # numeric ### numeric **creates: *numeric collection or variable*** A `numeric` data function directly references a numeric collection or variable in the data model. Optionally, it can refer to all numeric collections. | **attribute** | **type** | **description** | **options** | | --- | --- | --- | --- | | `collection` | string | the name of a numeric `collection` | any categorical `collection` | | `variable` | intfloatstring | a number or the name of a bundle of numeric values within the specified `collection` | any `variable` within a categorical `collection` | This data function represents all numeric collections: ``` { "data_function_type": "numeric" } ``` This data function represents a numeric collection and all of the variables therein: ``` { "data_function_type": "numeric", "collection": "Collection Name" } ``` This data function represents a numeric collection and a specific variable within that collection. ``` { "data_function_type": "numeric", "collection": "Collection Name", "variable": "Variable Name" } ```