Diffing political assemblies for Berlin, Germany.
Since March 2021, Polizei Berlin announces demonstrations and other political assemblies on its website berlin.de. This repository scrapes the JSON endpoint and parses it to JSON Lines. By this, a diff is created in the git-log.
Polizei Berlin is obliged to publish assemblies and demonstrations since the amendment of February 23rd 2021.
Die zuständige Behörde hat Ort, Zeit und Thema der angezeigten Versammlung zu veröffentlichen. Sofern es sich um einen Aufzug handelt, hat sie auch den Streckenverlauf zu veröffentlichen. (§ 12 Absatz 8 VersFG BE)
But the police is not obliged to keep records of past events. This shall be done by this project, that is not connected to any official entitiy though.
Please see below for relevant links regarding this project.
- Latest diffs
- Latest zip code statistics
- RSS feed for diffs (and development)
- Tweet bot for diffs (excluding development)
Since Polizei Berlin depublishes past assemblies from their website, this project contributes to conserving historical data and keeping the police accountable.
Thus three key focus points are highlighted below:
- Science: Analysing the data can and shall always be possible.
- Activism: If you want to stay up-to-date or analyse past assemblies, the data may help.
- Politics: Further cities and states should implement, that assembly authorities shall keep records of demonstrations.
You got further points? Please feel free to open an issue.
Two GitHub workflows keep this repo working: the scraper and the parser.
The scraper downloads the results of the JSON endpoint
with wget
and commits it to the repo under
data/results.json
.
The parser converts the downloaded state to JSON Lines, so the diff is human readable. It also translates the keys of the JSON into the English language and omits values that – so far – are not needed (such as the Laufende Nummer).
A third workflow is outsourced to the IFTTT service. It tweets when a new commit is made by the parser. Have a look at the twitter account here.
In case you have questions or threatening letters, please contact Lennart Mühlenmeier.
LICENSE to be added.