Created
January 26, 2017 16:24
-
-
Save AABoyles/f2f483f9769c5d5a10b169a0c7d736a8 to your computer and use it in GitHub Desktop.
SupremeCourtFill
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(readr) | |
library(dplyr) | |
nominees <- read_csv("https://docs.google.com/spreadsheets/d/1xsjTL6DbfEyR57MoZD3lIG8tTU-yblRA9ehQuaoj9Wg/pub?gid=0&single=true&output=csv") | |
confirmations <- nominees %>% | |
filter(Result == "confirmed") | |
longConfirmations <- confirmations %>% | |
filter(Days > 62) | |
SenateAttempts <- nominees %>% | |
filter(! Result %in% c("declined")) | |
SenateLong <- SenateAttempts %>% | |
filter(Days > 62) | |
SenateMatch <- SenateAttempts %>% | |
filter(Party == SenateControl) | |
SenateMatchConfirmations <- SenateMatch %>% | |
filter(Result == "confirmed") | |
SenateMatchLong <- SenateMatchConfirmations %>% | |
filter(Days > 62) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment