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
| Value | Description |
|---|---|
| 21.5 °C | air temperature in degrees Celsius |
| 36.6°C | body temperature without a space before the unit |
| -40 °F | negative temperature in degrees Fahrenheit |
| 273.15 K | water freezing point in kelvins |
| 25K invalid | K without a space usually means thousands |
| °C invalid | unit without a number |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Температура |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Temperature
- wikidata: https://www.wikidata.org/wiki/Property:P2076
- doc: https://www.semantic-mediawiki.org/wiki/Help:Type_Temperature
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/temperature - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/values/temperature.yamlon GitHub