#election #germany #api-bindings #wahl-o-mat #elections #wahlomat #politics

qualomat_schema

Rust bindings for the *Qual-O-Mat* open data format for the german voting advice tool *Wahl-O-Mat*

1 unstable release

0.1.0 May 12, 2024

#1173 in Data structures

AGPL-3.0-or-later

17KB
204 lines

qualomat_schema

crates.io Docs

A Rust crate for reading data from the qual-o-mat-data repository, which is an open data archive for the german voting advice tool Wahl-O-Mat.

Usage

Clone the data repository:

git clone https://github.com/gockelhahn/qual-o-mat-data

Read the data for all elections:

let elections = Election::read_all_from_path("qual-o-mat-data")?;

Code generation

The generated code was created from the Qual-O-Mat schema using typify and the code in qualomat_schema_gen.

Dependencies

~1.6–2.7MB
~51K SLoC