Transcripts of Democratic Debates as R Package
The goal of demdebates2020
is to provide access to all transcripts of
the Democratic debates of the 2020 Presidential Election.
The package includes a single dataset: debates
. This dataset
represents the spoken words of all Democratic candidates for US
president at eleven Democratic debates. The following
sources have been
used to compile the data: Washington Post, Des Moines Register and
rev.com. The dataset has the following eight columns:
speaker
: Who is speakingbackground
: Reactions from the audience, includes (APPLAUSE)
or(LAUGHTER)
speech
: Transcribed speechtype
: Candidate, Moderator or Protestergender
: The gender of the person speakingdebate
: Which debateday
: Which day of the debateorder
: The order in which the speech acts were deliveredThere are two ways in which you can access the dataset.
debates_url <- "https://raw.githubusercontent.com/favstats/demdebates2020/master/data/debates.csv"
debates <- readr::read_csv(debates_url)
devtools::install_github("favstats/demdebates2020")
library(demdebates2020)
demdebates2020::debates %>%
dplyr::slice(1508:1510) %>%
knitr::kable()
speaker | background | speech | type | gender | debate | day | order |
---|---|---|---|---|---|---|---|
Bernie Sanders | NA | One of the differences - one of the differences that Joe and I have in our record is Joe voted for that war, I helped lead the opposition to that war, which was a total disaster. | Candidate | male | 1 | 2 | 759 |
Bernie Sanders | (APPLAUSE) | NA | Candidate | male | 1 | 2 | 760 |
Bernie Sanders | NA | Second of all, I helped lead the effort for the first time to utilize the War Powers Act to get the United States out of the Saudi-led intervention in Yemen, which is the most horrific humanitarian disaster on Earth. | Candidate | male | 1 | 2 | 761 |
Check out this blog post for
some more data exploration.