Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t1h0/party-closeness-bundestag
How closely to their party's manifesto do german politicians speak in the Bundestag?
https://github.com/t1h0/party-closeness-bundestag
bundestag nlp scraping tf-idf
Last synced: 4 days ago
JSON representation
How closely to their party's manifesto do german politicians speak in the Bundestag?
- Host: GitHub
- URL: https://github.com/t1h0/party-closeness-bundestag
- Owner: t1h0
- License: gpl-3.0
- Created: 2022-08-05T14:15:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-07T22:49:11.000Z (7 months ago)
- Last Synced: 2024-11-15T21:08:15.738Z (2 months ago)
- Topics: bundestag, nlp, scraping, tf-idf
- Language: R
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Party closeness in the Bundestag
How closely to their party's manifesto do german politicians speak in the Bundestag?
## Research background
The main script (__party-closeness-bundestag.R__) investigates the relation between politicians' speeches in the Bundestag and their party's manifesto by looking at TF-IDF scores. The corresponding term paper can be found [here](https://tilmanhornung.de/pdf/bundestag_closeness.pdf).
## Content
* __bundestag_process.R__ provides useful functions for scraping Bundestag protocols of the current term and also for extracting actual speech text per parliamentarian out of any set of given (or scraped) Bundestag protocols. Lastly, functions for creating TF-IDF document-term-matrices out of the given speech corpus are also included.
* __manifestos_process.R__ provides useful functions for downloading parties manifestos (by use of the [Manifesto Project](https://manifesto-project.wzb.eu/)'s data through [ManifestoR](https://github.com/ManifestoProject/manifestoR/)) and creating TF-IDF document-term-matrices out of them.
* __analysis.R__ provides a rather rudimentary analysis of the relation between speeches and manifestos. This was mainly research driven and created for the initial academical submission and is therefore not (yet) well structured and hardly reusable.## Thanks to
The [Manifesto Project](https://manifesto-project.wzb.eu/) and [ManifestoR](https://github.com/ManifestoProject/manifestoR/).
## Disclaimer
The initial commit was my final submission to an r course during my master's studies.