unit
Stay organized with collections
Save and categorize content based on your preferences.
This page documents the unit canonical concept dataset. The
complete XML file is also available for review.
Basic Info
Provider
Imported Namespaces
Topics
No topics defined.
Concepts
Concept: unit
unit [XML] |
Unit |
entity:entity |
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>
|
No local attributes. |
symbol [XML] |
The symbol associated with a unit. |
string |
unit_text [XML] |
Unit text |
string |
Descriptive text that can be displayed next to a value. |
|
Concept: symbol_position
Concept: currency
currency [XML] |
Currency unit |
unit |
currency_table |
Specifies the currency associated with a metric concept. Each currency
is identified by its 3-letter currency code (ISO 4217). |
No local attributes. |
No local properties. |
Slices
No slices defined.
Tables
Table: unit_symbol_position_table
unit_symbol_position_table [XML] |
unit_symbol_positions.csv [CSV] |
Name |
Type |
symbol_position |
string |
|
Table: currency_table
currency_table [XML] |
currencies.csv [CSV] |
Name |
Type |
currency |
string |
unit_text |
string |
symbol |
string |
symbol_position |
string |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[],[]]