Awesome
This repository contains code to build cosponsorship networks from bills passed in the Israeli Parliament.
HOWTO
Replicate by running make.r
in R.
The data.r
script downloads information on bills and sponsors altogether. Most of the data are fetched from Open Knesset, which is operated by The Public Knowledge Workshop. 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
url
-- bill URLtitle
-- title, in Hebrewdate
-- date(s) of introduction of the bill, in Hebrewstatus
-- bill statussponsors
-- bill sponsors, using their numeric ids separated by semicolons
Sponsors
The sponsors data has one row per legislature in which the sponsor sat, starting with legislature 18 (2009–2013).
legislature
-- the legislature number (18–20th Knesset)uid
-- unique numeric identifierparty_url
-- party affiliation, as a legislature-specific URLname_he
-- full name, in Hebrewname_en
-- full name, in Englishsex
-- gender (F/M)born
-- year of birthnyears
-- number of years spent in officeurl
-- URL, official Knesset websiteurl_wp
-- URL, Wikipedia Hebrewphoto
-- local photo filenameparty
-- political party, abbreviated