Skip to content

t1h0/party-closeness-bundestag

Repository files navigation

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.

What comes with it?

  • 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's data through 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 and ManifestoR.

Disclaimer

The initial commit was my final submission to an r course during my master's studies.

About

How closely to their party's manifesto do german politicians speak in the Bundestag?

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages