Last active
March 26, 2019 14:16
-
-
Save ryanburge/9693adeff9dda8be2e8fb13feb608a9d to your computer and use it in GitHub Desktop.
PLS 2033 3/26/19.R
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? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment