---
id: "sensor_community_value_type"
kind: "datatype"
status: "draft"
is_pii: false
name: "Sensor.Community value type"
regexp: "^(?:P0|P1|P2|P4|N05|N1|N25|N4|N10|TS|temperature|humidity|pressure|pressure_at_sealevel|noise_LAeq|noise_LA_min|noise_LA_max|noise_Leq|durP1|durP2|ratioP1|ratioP2|samples|min_micro|max_micro|interval|hdop|lat|lon|height|timestamp)$"
categories: ["environment", "science"]
langs: ["common"]
quality: 85
url: "https://registry.apicrafter.io/datatype/sensor_community_value_type"
---

# Sensor.Community value type (`sensor_community_value_type`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Type of a reading in the archives of the Sensor.Community (luftdaten) and sensors.AFRICA networks, one row per reading in the value_type column, such as P1 for PM10 and P2 for PM2.5 in µg/m³, P0 for PM1, temperature, humidity, pressure, noise_LAeq or noise_Leq, and the sensor diagnostics durP1, ratioP2, samples, min_micro, max_micro and the hdop of a GPS. The pollutant notation of official stations is air_pollutant; the sensor model is air_sensor_model.

- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:P0|P1|P2|P4|N05|N1|N25|N4|N10|TS|temperature|humidity|pressure|pressure_at_sealevel|noise_LAeq|noise_LA_min|noise_LA_max|noise_Leq|durP1|durP2|ratioP1|ratioP2|samples|min_micro|max_micro|interval|hdop|lat|lon|height|timestamp)$
```

## Examples

- `P2` — PM2.5 in µg/m³
- `P1` — PM10 in µg/m³
- `humidity` — relative humidity in percent
- `PM2.5` (invalid example) — the notation of official stations (air_pollutant)

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `sensorcommunityvaluetypebyname` (field, `common/environment.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- doc: <https://github.com/opendata-stuttgart/meta/wiki/APIs>
- doc: <https://archive.sensor.community/>
- doc: <https://open.africa/dataset/sensorsafrica-airquality-archive-nairobi>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/sensor_community_value_type.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/environment/sensor_community_value_type.yaml>
