GithubHelp home page GithubHelp logo

shivamparikh / partisan Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 8.95 MB

An analysis of the partisan behavior for the U.S. House of Representatives and U.S. Senate

Python 4.78% Jupyter Notebook 95.21% Shell 0.01%
politics government usa scraping datascience

partisan's Introduction

Partisan

An analysis of the partisan behavior for the U.S. House of Representatives and U.S. Senate

Outline

Started with data from each individual vote that took place in the House of Representatives or the Senate, and then summarize data into the CSV files with the use of a scraper. Scraper is available in the Data Crawler folder. Used Matplotlib to draw preliminary line graphs.

Sample graphs

Below is a graph Partisan Voting in Both Houses of Congress. Generated by a call to the datasci() method alt text

Next is Nonpartisan alt text

Next is Bipartisan alt text

Next up is a graph displaying Partisan, Bipartisan, and Non Partisan voting in the U.S. House of Representatives. alt text

Next up is a graph displaying Partisan, Bipartisan, and Non Partisan voting in the U.S Senate. alt text

Disclaimers

The following data and graphical representations were created by Shivam Parikh in the span of January 26th, 2017 to April 2nd 2017. The data used to generate these graphs and analysis were gethered from the government websites themselves, listed here:

  1. http://clerk.house.gov/
  2. https://www.senate.gov/pagelayout/legislative/a_three_sections_with_teasers/votes.htm The most recent data for the 2017 congress was pulled on April 2nd at 11:13 AM. The analysis and graphs are property of Shivam Parikh, Copyright 2017. Do not reproduce or publish without visible credit to, or explicit written permission from, the creator.

partisan's People

Contributors

shivamparikh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.