Trevas
Transformation engine and validator for statistics.
Install / Use
/learn @InseeFr/TrevasREADME
Trevas
Transformation engine and validator for statistics.
Trevas is a Java engine for the Validation and Transformation Language (VTL), an SDMX standard that allows the formal definition of algorithms to validate statistical data and calculate derived data. VTL is user oriented and provides a technology-neutral and standard view of statistical processes at the business level. Trevas supports the latest VTL version (v2.1, July 2024).
For actual execution, VTL expressions need to be translated to the target runtime environment. Trevas provides this step for the Java platform, by using the VTL formal grammar and the Antlr tool. For a given execution, Trevas receives the VTL expression and the data bindings that associate variable names in the expression to actual data sets. The execution results can then be retrieved from the bindings for further treatments.
Trevas provides an abstract definition of a Java VTL engine, as well as two concrete implementations:
- an in-memory engine for relatively small data, for example at design time when developing and testing VTL expressions on data samples
- an Apache Spark engine for Big Data production environments
Other implementations can be easily developed for different contexts.
Documentation
The documentation can be found in the docs folder and browsed online.
If you want to contribute, see this guide.
Requirements
Open JDK 17 + is required.
References
<p align="center"> <img width="100px" src="./docs/static/img/sdmx-logo.svg" /> </p>Trevas is listed among the SDMX tools.
<p align="center"> <img width="100px" src="./docs/static/img/sdmx-io-logo.svg" /> </p>Trevas is part of the sdmx.io ecosystem.
<p align="center"> <img src="https://awesome.re/mentioned-badge.svg" /> </p>Trevas is referenced by Awesome official statistics software.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
