Crates.io | qualomat_schema |
lib.rs | qualomat_schema |
version | 0.1.0 |
source | src |
created_at | 2024-05-12 15:24:30.167091 |
updated_at | 2024-05-12 15:24:30.167091 |
description | Rust bindings for the *Qual-O-Mat* open data format for the german voting advice tool *Wahl-O-Mat* |
homepage | |
repository | https://github.com/miwig/qualomat_schema |
max_upload_size | |
id | 1237574 |
size | 16,920 |
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.
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")?;
The generated code was created from the Qual-O-Mat schema using typify and the code in qualomat_schema_gen.