unit

This page documents the unit canonical concept dataset. The complete XML file 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

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

Topics

No topics defined.

Concepts

Concept: unit

ID unit [XML]
Name Unit
Extends 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
symbol_position
unit_text
ID symbol [XML]
Name The symbol associated with a unit.
Type string
ID
(implied)
symbol_position [XML]
Concept symbol_position
ID unit_text [XML]
Name Unit text
Type string
Description Descriptive text that can be displayed next to a value.

Concept: symbol_position

ID symbol_position [XML]
Name Unit symbol position
Type string
Data unit_symbol_position_table
Description Unit symbol position
Attributes No local attributes.
Properties No local properties.

Concept: currency

ID currency [XML]
Name Currency unit
Extends unit
Data 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]
Data unit_symbol_positions.csv [CSV]
Columns
Name Type
symbol_position string

Table: currency_table

ID currency_table [XML]
Data currencies.csv [CSV]
Columns
Name Type
currency string
unit_text string
symbol string
symbol_position string