qualomat_schema

Crates.ioqualomat_schema
lib.rsqualomat_schema
version0.1.0
sourcesrc
created_at2024-05-12 15:24:30.167091
updated_at2024-05-12 15:24:30.167091
descriptionRust bindings for the *Qual-O-Mat* open data format for the german voting advice tool *Wahl-O-Mat*
homepage
repositoryhttps://github.com/miwig/qualomat_schema
max_upload_size
id1237574
size16,920
Michael Wigard (miwig)

documentation

README

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.

Commit count: 1

cargo fmt