Giter Club home page Giter Club logo

us-election-data-exploration's Introduction

US Election Data Exploration

This project was done as a course assignment for CS418: Introduction to Data Science course at the University of Illinois at Chicago during the Fall 2019 term along with teammates Yushenli1996 and nathanhe789.


We were provided with the dataset by the Professor. There were 2 CSV files: one contained demographics data of counties of certain US states and the other contained election data of counties of certain US states from the 2016 US Senate elections.

We had to merge both files as a single data file. Before merging we had to address the inconsistencies in both the data files like:

  • The election data file was in long format while the demographic data was in wide format.
  • The state and county names in both data files were in different formats.

The main purpose of the assignment was to perform Exploratory Data Analysis on the demographic-election data. The data exploration tasks performed on the dataset are:

  • Check for redundant/irrelevant variables

  • Check for missing values

  • Perform null hypothesis on mean population and mean median household income of each county

  • Compute descriptive statistic and create box plots for each demographic feature

  • Identify the features in the dataset most important to determine whether a county should be labelled as Democratic or Republican.

  • Create choropleth map to visualize the majority political party of each county

    img


Check out the Jupyter Notebook or the project report to see the data science flow implemented.

us-election-data-exploration's People

Contributors

imgbotapp avatar samujjwaal avatar yushenli1996 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.