Expand description
§qualomat_schema
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.
Modules§
- json
- Loading data from json files.
Structs§
- Answer
- Answer
- Category
- Category
- Comment
- Comment
- Election
- All the data available for a single election
- Election
List Item - Path to a specific election in the dataset. Election
- Election
Overview - Overview and info of an election
- Opinion
- Opinion
- Party
- Party
- Statement
- Statement