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

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

#626 in Data structures

Download history 129/week @ 2024-05-12 18/week @ 2024-05-19

147 downloads per month

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.6MB
~51K SLoC