Skip to content

Data Exploratory Project for 2020 House representative Election

Notifications You must be signed in to change notification settings

Bommi95/2020-House-seats-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

2020 House Election Estimation Project(R)

The goal of this project is to use 2018 Population Estimates Program (PEP) data to estimate the number of House of Representative members for each state expected from the results of the upcoming 2020 census.

I used R programming to estimate the House seats distribution in the United States in 2020 to predict the upcoming House of Representative Election. I built a model that applies the Equal proportions algorithm to generate the number of house seats of each state using 2018 population data from American FactFinder, a website maintained by the Census Bureau. I compared my estimation results with the current House Distribution which is based on 2010 census data and used ggplot2 visualized the results in a U.S. map with each color representing the numbers of seats change.

alt text

Reference:
2018 population PEP:
https://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=PEP_2018_PEPANNRES&src=pt
2010 Apportionment Data:
https://www.census.gov/data/tables/2010/dec/2010-apportionment-data.html

About

Data Exploratory Project for 2020 House representative Election

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published