Created
May 3, 2021 17:54
-
-
Save ranjiGT/286db30fc1758cf30ffafe4639001eb5 to your computer and use it in GitHub Desktop.
Pipeline for generating frequency barhplots
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
roll_calls_imp <- | |
un_roll_call_issues %>% | |
left_join(un_roll_calls) %>% | |
filter(importantvote == 1) | |
roll_calls_imp %>% | |
count(issue) %>% | |
ggplot(aes(reorder(issue, n) , n)) + | |
geom_col() + | |
coord_flip()+ | |
xlab("issue")+ | |
ylab("count") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment