---
id: "sdmx_freq"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["datetime"]
langs: ["common"]
quality: 75
url: "http://registry.apicrafter.io/datatype/sdmx_freq"
---

# SDMX frequency code (CL_FREQ) (`sdmx_freq`)

> **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.

Code from the SDMX code list CL_FREQ (agency SDMX, version 2.1) for the frequency of a time series or of data collection: A annual, S half-yearly, Q quarterly, M monthly, W weekly, D daily, B daily over the business week, H hourly, N minutely and I irregular. A digit after the letter means every n periods (A5 every five years, W2 every two weeks), an underscore and a digit mean n times per period (M_2 twice a month), OA and OM are occasional annual and monthly, and _O, _U and _Z mean other, unspecified and not applicable.

- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:A(?:2|3|4|5|10|20|30|_3)?|S|Q|M(?:2|_2|_3)?|W(?:2|3|4|_2|_3)?|D(?:_2)?|H(?:2|3)?|B|N|I|O[AM]|_[OUZ])$
```

## Examples

- `A` — Annual
- `Q` — Quarterly
- `M` — Monthly
- `B` — Daily, business week
- `A_3` — Three times a year
- `_Z` — Not applicable
- `Y` (invalid example) — Not a code of CL_FREQ
- `A6` (invalid example) — Not a code of CL_FREQ

## Sources

- doc: <https://registry.sdmx.org/sdmx/v2/structure/codelist/SDMX/CL_FREQ/2.1>
- doc: <https://sdmx.org/standards-2/>
- wikipedia: <https://en.wikipedia.org/wiki/SDMX>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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