Skip to content

This Scrapy-project can be used to extract the historic vote results of the German federal elections (Bundestagswahlen) since 1949.

License

Notifications You must be signed in to change notification settings

thunfischtoast/Bundestagswahl_History_Scraper

Repository files navigation

Bundestagswahl_History_Scraper

This Scrapy-project can be used to extract the historic vote results of the German federal elections (Bundestagswahlen) since 1949.

Dependencies and installation

The only dependency of this project is Python 3 and Scrapy. See the official documentation to see how it is installed: https://docs.scrapy.org/en/latest/intro/install.html

Usage

To run the crawler and write the results into the file history.csv use:

scrapy crawl buwahlhistory -o history.csv

Notes

In the year 1949 there was only one vote (Erststimme). The rows for the second vote will be 0 in that year.

Results

The results can be exported into various formats. Here is an example of the csv export:

csv result example

About

This Scrapy-project can be used to extract the historic vote results of the German federal elections (Bundestagswahlen) since 1949.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published