Created
April 2, 2019 14:17
-
-
Save ryanburge/a93b502c8160cd8eb0a8021d4b1d4cc2 to your computer and use it in GitHub Desktop.
Assignment 2 - Research Methods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(socsci) | |
library(car) | |
cces <- read_csv("https://raw.githubusercontent.com/ryanburge/cces/master/CCES%20for%20Methods/small_cces.csv") | |
## Here's a link to download the codebook | |
https://github.com/ryanburge/cces/raw/master/Codebooks/CCES_2016_Small_Codebook.pdf | |
## We are going to talk about two things today | |
1. The group_by() function | |
2. Confidence Intervals | |
### Open this page up: | |
http://rpubs.com/ryanburge/intermediate_R | |
+ geom_errorbarh(aes(xmin = lower, xmax=upper)) | |
Assignment 2 Questions: | |
1. What State Has the Highest Concentration of Jewish People? | |
2. What Religious Group Has the Highest Share of Those Under 35 Who Identify As Democrats? | |
3. You are given the task of trying to convince some Republicans to support gun control. What specific part of gun control do you pick? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment