Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

R code to download all early day motions from the UK House of Commons, and plot their cosponsorship networks.

Run make.r to replicate after checking the dependencies at the top of the script. You will probably have the time to drink at least twenty cups of tea before the first plot shows up: over 37,000 early motions were introduced since 1989, and UK Members of Parliament cosponsor them a lot.

Since the networks are extremely dense, you will need to use edge weights to set a threshold under which to discard edges before plotting. Using 'perfect matches' (edges that represent systematic cosponsorship between a sponsor and a primary sponsor) works fine, as shown in these plots:

The code in functions.r was written for the parlnet project.

Inspired by, but not related to, Michael Kellermann's research.

About

Early day motion cosponsorships in the U.K. House of Commons.

Resources

Releases

No releases published

Packages

No packages published

Languages