Skip to content

To create a social network to visualize the senators showing which senator has sponsored how many bills and with whom. This has the senators from the 116th congress

Notifications You must be signed in to change notification settings

farhanah09/Social-Network-of-the-United-States-Senate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Network of the United States Senate

Problem Description

The Senate is one of the two chambers in the legislative branch of the United States federal government. It comprises 100 members: two senators from each of the 50 states elected to a 6-year term. To pass, amend, or repeal a law, a member of Congress must introduce a bill, which describes the details of the new law or the proposed changes to the old law. In this project, we will explore the social network of the US Senate induced by bill co-sponsorship during the 116th Congress (January 3, 2019, to January 3, 2021).

Data Sources

The data for this project were obtained from GPO Bulk Data. The following files are used:

  • senators.csv: Contains the list of all Senators who served during the 116th Congress, including their name, state, party affiliation (R - Republican, D - Democrat, I - Independent), and an ID number from 1-1022. Also includes (x,y) coordinates corresponding to the latitude and longitude of points within each state.
  • senateCosponsorship.csv: Contains a list of all pairs of Senators (referred to by their ID numbers) who have co-sponsored at least 8 bills together.

This project was initially developed as part of the Big Data (45980) course at CMU Tepper with Dr. Amr Farahat

Python Package Requirements

To run this project, you need to install the required packages from requirements.txt. You can do this using the following command:

pip install -r requirements.txt

About

To create a social network to visualize the senators showing which senator has sponsored how many bills and with whom. This has the senators from the 116th congress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages