Awesome
This repository contains code to build cosponsorship networks from bills passed in the lower and upper chambers of the Romanian Parliament.
HOWTO
Replicate by running make.r
in R.
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
page
-- the index page from which the bill was scrapedurl
-- bill URLref
-- reference of the form "L1/03.02.2009" (includes the full date for most bills)name
-- short titlestatus
-- when the bill passed, the reference of the lawauthors
-- bill sponsorn_au
-- total number of sponsors
Sponsors
The sponsors data has one row per sponsor-legislature.
legislature
-- legislature of activityurl
-- profile URLname
-- sponsor namesex
-- gender (F/M), imputed from birth information ("aleasă")born
-- year of birthparty
-- political party, abbreviatedparty_dummy
-- dummy indicating the presence of multiple party affiliationsmdts_ca
-- number of mandates in the lower chambermdts_se
-- number of mandates in the upper chambernyears
-- number of past mandates in the same chamberconstituency
-- constituency, as the string to its Wikipedia English entryphoto
-- photo, as a local filenametype
-- either "Deputat" or "Senator"