---
title: "numeric-units"
slug: "numeric-units-parser"
updated: 2022-07-27T17:29:03Z
published: 2022-07-27T17:29:03Z
---

> ## 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-units

The *numeric-units* **parser** will load data from a column in a source data table and map values to other values before producing a numeric **variable** within a **collection**.

It inherits attributes and behaviors from its parent: **parser** - *numeric*.

The *numeric-units* **parser** will parse a column value containing a number and a units string, and will extract the number part to become a **variable** within a **collection**.

## Attribute - units

```
{
  "parser_type": "numeric-units",
  "column": "cccc",
  
  // The units attribute is a string to remove to ensure
  // proper parsing as a number
  //
  "units": "$",
  
  "collection": "collection_name",
  "variable": "variable_name"
}
```
