Datatypes

Temperature

ID temperature

DatatypeNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

A measured or set temperature, such as an air, water or body temperature reading. Datasets store it as a number in degrees Celsius, degrees Fahrenheit or kelvins, with the unit either in the value or in the column name or metadata. The regular expression recognizes only values that carry a unit symbol. Semantic MediaWiki has a Temperature datatype that accepts K, °C, °F and °R and stores values in kelvins.

Parent datatype
Numeric value numeric
Categories
All measurable values (percentage, amount and e.t.c), Scientific, Environment
Countries
Global (not tied to a country)
Languages
Common to most languages
Wikidata
P2076
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
Collibra Data Classification, Great Expectations Semantic Types Expectations, IBM Knowledge Catalog (IBM watsonx.data intelligence)

Regular expression

^[-+]?\d+(?:[.,]\d+)?(?:\s?(?:°\s?[CFR]|℃|℉)|\sK)$

Python re syntax.

Examples

ValueDescription
21.5 °Cair temperature in degrees Celsius
36.6°Cbody temperature without a space before the unit
-40 °Fnegative temperature in degrees Fahrenheit
273.15 Kwater freezing point in kelvins
25K invalidK without a space usually means thousands
°C invalidunit without a number

Translations

LanguageNameDescription
RussianТемпература

Sources

Use this record