# quantity

This page documents the quantity canonical concept dataset. The complete XML file is also available for review.

ID URI

## Topics

No topics defined.

## Concepts

### Concept: quantity

ID quantity [XML]
Name Quantity
Type float
Description Base concept for defining concept that represent numerical quantities.
Attributes
ID (implied) unit [XML] unit:unit Unit The unit of the quantity
ID significant_digits [XML] Number of significant digits integer Specifies the number of significant digits to use when displaying the values of a metric concept.
ID decimal_places [XML] Number of decimal places integer Specifies the number of decimal places to use for displaying the values of a metric concept.
Properties No local properties.

### Concept: amount

ID amount [XML] Amount quantity Indicates that a numeric concept is an amount, i.e., a count of discrete elements. Example concept: Population, Gross Domestic Product. No local attributes. No local properties.

### Concept: magnitude

ID magnitude [XML] Magnitude quantity Indicates that a numeric concept is a magnitude, i.e., a continuous quantity that is measurable. Example concepts: Temperature. No local attributes. No local properties.

### Concept: fraction

ID fraction [XML]
Name Fraction
Extends magnitude
Description Indicates that a numeric concept represents a fraction, i.e., the division of two quantities.
Attributes
ID denominator [XML] Denominator concept The denominator of the fraction.
ID numerator [XML] Numerator concept The numerator of the fraction.
Properties No local properties.

### Concept: ratio

ID ratio [XML]
Name Ratio
Extends fraction
Description Indicates that a numeric concept is a ratio, i.e., a fraction of two quantities of the same nature. Example concept: Ratio of girls to boys in primary and secondary education.
Attributes
ID is_percentage [XML] Is percentage boolean Set to true if this ratio is a percentage, set to false otherwise.
ID percentage_of [XML] Percentage of string If this is a percentage, this attribute provides a descriptive text to display next to number that specifies what this is a percentage of. For instance, the "unemployment rate" metric has a percentage_of attribute set to: "of the labor force" to that the value reads "10.5% of the labor force".
Properties No local properties.

### Concept: index

ID index [XML]
Name Index
Extends rate
Description A quantity that shows by its variations the changes of a magnitude over time or space, often normalized to a reference value. Example concept: Consumer Price Index.
Attributes
ID base_value [XML] quantity Base value The reference value for the index (e.g., 100).
ID base_time [XML] time:time_point Base time The reference time the index is defined for.
ID base_location [XML] geo:location Base location The reference location the index is defined for.
Properties No local properties.

### Concept: rate

ID rate [XML] Rate ratio A quantity considered as a proportion of another quantity. Example concepts: Literacy rate, GDP per Capita, unemployment rate. No local attributes. No local properties.

### Concept: change_rate

ID change_rate [XML]
Name Change rate
Extends rate
Description The rate at which some quantity changes. Example concept: GDP growth rate.
Attributes
ID base_quantity [XML] Base quantity concept The quantity (concept) that this is a change rate for.
Properties No local properties.

## Slices

No slices defined.

## Tables

No tables defined.

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]