inaugCorpus
is the quanteda-package corpus object of US presidents' inaugural addresses since 1789.
Document variables contain the year of the address and the last name of the president.inaugTexts
is the character vector of US presidential inaugaration speeches
# some operations on the inaugural corpus
summary(inaugCorpus)
head(docvars(inaugCorpus), 10)
# working with the character vector only
str(inaugTexts)
head(docvars(inaugCorpus), 10)
mycorpus <- corpus(inaugTexts)
Run the code above in your browser using DataLab