Home

Awesome

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

HOWTO

Replicate by running make.r in R.

The data.r script downloads information on bills and sponsors altogether. All photos should 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.

DATA

Bills

Government bills are identified as "GOV" in the authors variable. Because no authors are provided for the bills of legislature 39 (2001-2005), the legislature is discarded by the network building routine.

Sponsors

The sponsors data has one row per legislature in which the sponsor sat, starting with legislature 40 (2005-2009).