Skip to content
forked from jmbh/bundestag

Data and code for the visualization of the voting pattern of the German parliament

Notifications You must be signed in to change notification settings

bundestag/bundestag

 
 

Repository files navigation

bundestag

Data and code for the visualization of the voting pattern of the German parliament

preprocessing.R takes the data downloaded from bundestag.de and preprocesses them in the the following three data files:

  • Data_persons.RDS, a 139 (bills) x 659 (members of parliament) table
  • Data_vote.X.person.RDS and, a 659 (members of parliament) x 3 (given name, surname, party) table
  • Data_votes.RDS, a a 139 (bills) x 4 (data file, title of bill, date voted, days from day 1) table

analysis.R uses these three data files to produce all figures shown in the post here: http://jmbh.github.io/Analyzing-voting-pattern-of-German-parliament/

bundestag_aux_functions.R is sourced by analysis.R and contains functions used in analysis.R.

About

Data and code for the visualization of the voting pattern of the German parliament

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Batchfile 58.9%
  • R 38.9%
  • VBScript 2.2%