Honor Code
1
Data
1.1
Download and prepare data
1.1.1
Loading library
1.1.2
Loading variables and data wrangling
1.1.3
Merging data
1.1.4
Processing data
1.1.5
Election data download and preparation
1.1.6
Metadata cleaning
1.1.7
Popup labels
1.2
Summary statistics
2
Election Map
3
Category 1: Income as an explanatory variable in voting patterns
3.1
Category 1 Variable 1: Median Income, which measure the average income of the past 12 months within each county.
3.1.1
Map of Median Income in the United States
3.1.2
Scatterplot of Median Income and % of GOP Votes in a county
3.1.3
Summary Table for Regression of Median Income
3.2
Category 1 Variable 2: Percentage of Population with Income Below Poverty Level
3.2.1
Percentage of Population below Poverty Level Map
3.2.2
Scatterplot of % of Population Under Poverty Level and % of GOP Votes in a county
3.2.3
Summary Table for Regression of % of Population Under Poverty Level
4
Category 2: Demographic
4.1
Category 2 Variable 1: Median Age
4.1.1
Map of Median Age in the United States
4.1.2
Scatter plot of Vote for GOP(%) over Median Age
4.1.3
Summary statistics for regression of Vote for GOP(%) over Median Age
4.2
Category 2 Variable 2: Percentage of White population
4.2.1
Map of percentage of white population in the United States
4.2.2
Scatter plot of Vote for GOP(%) over percentage of white population
4.2.3
Summary statistics for regression of Vote for GOP(%) over percentage of white population
5
Category 3: Education
5.1
Category 3 Variable 1: Percentage of People without High School Diploma
5.1.1
Map of % of People without High School Diploma in the United States
5.1.2
Scatterplot of % of People without High School Diploma and % of GOP Votes in a county
5.1.3
Summary Table for Regression of % of People without High School Diploma
5.2
Category 3 Variable 2: Percentage of People with a Doctorate Degree
5.2.1
Map of % of People with a Doctorate Degree in the United States
5.2.2
Scatterplot of % of People with a Doctorate Degree and % of GOP Votes in a county
5.2.3
Summary Table for Regression of % of People with PhD
6
Category 4: Rent
6.1
Category 4 Variable 1: Median Rent
6.1.1
Map of Median Rent in the United States
6.1.2
Graph and Regression of Median Rent and % of GOP Votes
6.2
Category 4 Variable 2: Renting Percentage
6.2.1
Map of Renting Percentage in the United States
6.2.2
Graph and Regression of Rent % and % of GOP Votes
7
Regressions
7.1
Running models
7.2
Model evaluation(not part of the official work)
CP
7
Regressions