An R package to analyze the parliamentary records of the 19th legislative period of the Bundestag, the German parliament.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20 строки
409B

  1. library(tidyverse)
  2. source("../scraping/fetch.R")
  3. source("../scraping/parse.R")
  4. source("../scraping/repair.R")
  5. # fetch_all()
  6. read_all() %>% repair() -> res
  7. reden <- res$reden
  8. redner <- res$redner
  9. talks <- res$talks
  10. # first tries
  11. left_join(reden, redner, by=c("redner" = "id")) %>%
  12. group_by(fraktion) %>%
  13. summarize(n = n()) %>%
  14. ggplot(aes(x = fraktion, y = n)) +
  15. geom_bar(stat = "identity")