API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
units-of-measure
Schema
| name | type | description |
|---|---|---|
| Status | string | See description of status in newest documentation PDF of recommendation no. 20 |
| CommonCode | string | UNECE code for the unit of measure |
| Name | string | |
| Description | string | |
| LevelAndCategory | string | See levels.csv |
| Symbol | string | The symbol used to represent the unit of measure as in ISO 31 / 80000. |
| ConversionFactor | string | The value used to convert units to the equivalent SI unit when applicable. |
levels
Schema
| name | type |
|---|---|
| LevelAndCategory | string |
| Description | string |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
units-of-measure | 175 kB | 28 days ago | units-of-measure | |
levels | 444 B | 28 days ago | levels |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 2 | 175 kB | 4 days ago | Open Data Commons Public Domain Dedication and License v1.0 | UNECE |
Standardised codes from Recommendation 20, mantained by UNECE.
Data
Data comes from the Excel file, merging Annex I and Annex II/III. It doesn't include units marked as deprecated and removed.
Preparation
- levels.csv is derived from the latest pdf available (Section VII) and explains the categories of the main dataset
- From the Excel spreadsheet we have merged the two Annexes to have the sector and the codes in the same file, removing the symbol and conversion factor columns; entries marked as deprecated (D) or deleted (X) have been removed.
Usage via Jitpack
Jitpack is a service that packages github repositories on-the-fly when you request an archive for the first time and the caches the result.
JVM / Android
The package can be used as a compile-time dependency for JVM / Andriod projects through https://jitpack.io.
- Add the https://jitpack.io repository to your build (Maven, Gradle, …)
- Add the dependency
com.github.datasets:unece-units-of-measure:<name-of-the-tag>
Example:com.github.datasets:unece-units-of-measure:rec20_Rev13e_2017
See the jitpack documentation for further details.
Zip download
Because .jar files are in essence just normal .zip files, it is perfectly possible to use the jitpack artifact as a zip file source for non-JVM usage.
URL pattern: https://jitpack.io/com/github/datasets/unece-units-of-measure/<name-of-the-tag>/unece-units-of-measure-<name-of-the-tag>.jar
URL example: https://jitpack.io/com/github/datasets/unece-units-of-measure/rec20_Rev13e_2017/unece-units-of-measure-rec20_Rev13e_2017.jar
License
All data is licensed under the ODC Public Domain Dedication and Licence (PDDL).