This script parses german election survey result data data from dawum.de JSON format to a flat CSV file for easier processing.
- Python 3.6+
 
- requests
 - python-slugify[unidecode]
 
- Clone this repository
 
git clone https://github.com/kennell/dawum-to-csv
- Install the dependencies
 
pip install requests python-slugify[unidecode]
- Run script
 
python3 dawum-to-csv.py > output.csv
This script only parses the data provided by dawum.de Please make sure you understand the licensing requirements for the actual data.