An R package to analyze the parliamentary records of the 19th legislative period of the Bundestag, the German parliament.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

37 wiersze
603B

  1. ---
  2. title: "funwithdata"
  3. output: rmarkdown::html_vignette
  4. vignette: >
  5. %\VignetteIndexEntry{funwithdata}
  6. %\VignetteEngine{knitr::rmarkdown}
  7. %\VignetteEncoding{UTF-8}
  8. ---
  9. ```{r, include = FALSE}
  10. knitr::opts_chunk$set(
  11. collapse = TRUE,
  12. comment = "#>"
  13. )
  14. ```
  15. ```r
  16. read_all() %>% repair() -> res
  17. reden <- res$reden
  18. redner <- res$redner
  19. talks <- res$talks
  20. # first tries
  21. left_join(reden, redner, by=c("redner" = "id")) %>%
  22. group_by(fraktion) %>%
  23. summarize(n = n()) %>%
  24. ggplot(aes(x = fraktion, y = n)) +
  25. geom_bar(stat = "identity")
  26. ```
  27. ```{r setup}
  28. library(hateimparlament)
  29. ```