# unit

This page documents the **unit** canonical concept dataset. The
[complete XML file](https://developers.google.com/public-data/docs/canonical/unit_xml) is also available for review.

## Basic Info

| Name | Unit concepts |
| Description | Concepts for to representing units. |
| Namespace | http://www.google.com/publicdata/dataset/google/unit |
| URL | [http://code.google.com/apis/publicdata/docs/canonical/unit.html](https://developers.google.com/public-data/docs/canonical/unit) |
|---|---|

## Provider

| Name | Google Inc. |
| Description | Google Inc. |
| URL | <http://www.google.com> |
|---|---|

## Imported Namespaces

| ID | URI |
|---|---|
| entity | [http://www.google.com/publicdata/dataset/google/entity](https://developers.google.com/public-data/docs/canonical/entity) |

## Topics

No topics defined.

## Concepts

### Concept: unit

| ID | unit \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#unit)\] |
| Name | Unit |
| Extends | [entity:entity](https://developers.google.com/public-data/docs/canonical/entity#entity) |
| Description | Specifies the unit associated with a metric concept. Example: ``` <concept id="area_unit" extends="unit:unit"> <info> <name> <value>Area in square kilometers</value> </name> </info> <table ref="area_unit_table"/> </concept> ``` The table contains a single row that contains the property values: ``` symbol,symbol_position,unit_text km²,END,square kilometers ``` One can then use this unit in defining a metric concept: ``` <concept id="country_area" extends="quantity:magnitude"> <info> <name> <value>Country area in square kilometers</value> </name> </info> <attribute id="unit" concept="area_unit"/> <table ref="country_area_table"/> </concept> ``` |
| Attributes | No local attributes. |
| Properties [symbol](https://developers.google.com/public-data/docs/canonical/unit#unit_symbol) [symbol_position](https://developers.google.com/public-data/docs/canonical/unit#unit_symbol_position) [unit_text](https://developers.google.com/public-data/docs/canonical/unit#unit_unit_text) | | ID | symbol \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#unit_symbol)\] | | Name | The symbol associated with a unit. | | Type | string | |---|---| | ID (implied) | symbol_position \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#unit_symbol_position)\] | | Concept | [symbol_position](https://developers.google.com/public-data/docs/canonical/unit#symbol_position) | |---|---| | ID | unit_text \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#unit_unit_text)\] | | Name | Unit text | | Type | string | | Description | Descriptive text that can be displayed next to a value. | |---|---| |
|---|---|

### Concept: symbol_position

| ID | symbol_position \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#symbol_position)\] |
| Name | Unit symbol position |
| Type | string |
| Data | [unit_symbol_position_table](https://developers.google.com/public-data/docs/canonical/unit#unit_symbol_position_table) |
| Description | Unit symbol position |
| Attributes | No local attributes. |
| Properties | No local properties. |
|---|---|

### Concept: currency

| ID | currency \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#currency)\] |
| Name | Currency unit |
| Extends | [unit](https://developers.google.com/public-data/docs/canonical/unit#unit) |
| Data | [currency_table](https://developers.google.com/public-data/docs/canonical/unit#currency_table) |
| Description | Specifies the currency associated with a metric concept. Each currency is identified by its 3-letter currency code (ISO 4217). |
| Attributes | No local attributes. |
| Properties | No local properties. |
|---|---|

## Slices

No slices defined.

## Tables

### Table: unit_symbol_position_table

| ID | unit_symbol_position_table \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#unit_symbol_position_table)\] |
| Data | unit_symbol_positions.csv \[[CSV](https://developers.google.com/public-data/docs/canonical/unit_symbol_positions_csv)\] |
| Columns | | Name | Type | |---|---| | symbol_position | string | |
|---|---|

### Table: currency_table

| ID | currency_table \[[XML](https://developers.google.com/public-data/docs/canonical/unit_xml#currency_table)\] |
| Data | currencies.csv \[[CSV](https://developers.google.com/public-data/docs/canonical/currencies_csv)\] |
| Columns | | Name | Type | |---|---| | currency | string | | unit_text | string | | symbol | string | | symbol_position | string | |
|---|---|