Home

Awesome

This repository contains code to build cosponsorship networks from bills passed in the Irish Parliament.

HOWTO

Replicate by running make.r in R.

The data.r script downloads information on bills and sponsors, including their photos (which should all download fine). The build.r script then assembles the edge lists and plots the networks, with the help of a few routines coded into functions.r. Adjust the plot, gexf and mode parameters to skip the plots or to change the node placement algorithm.

The data are extremely sparse -- given how the Irish legislature works, and given the small number of parliamentarians in both chambers, there are only a handful of cosponsorships per year. As far as legislative cosponsorship goes, the Irish case is best understood as a borderline case that gives the minimal dimensions of a cosponsorship network.

DATA

Bills

Sponsors

The saved version of the sponsors.csv dataset contains only url (profile URL, shortened to its numeric id), legislature and chamber (same as for bills). All other variables are collected on the way to plotting the networks:

Note -- chamber chairs (Cathaoirleach and Ceann Comhairle) are coded as "parties", even though they are not. Chairs do not show up in the networks.