data_corpus_inaugural {quanteda} | R Documentation |
US presidential inaugural address texts
Description
US presidential inaugural address texts, and metadata (for the corpus), from 1789 to present.
Usage
data_corpus_inaugural
Format
a corpus object with the following docvars:
-
Year
a four-digit integer year -
President
character; President's last name -
FirstName
character; President's first name (and possibly middle initial) -
Party
factor; name of the President's political party
Details
data_corpus_inaugural
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.
Source
https://archive.org/details/Inaugural-Address-Corpus-1789-2009 and https://www.presidency.ucsb.edu/documents/presidential-documents-archive-guidebook/inaugural-addresses.
Examples
# some operations on the inaugural corpus
summary(data_corpus_inaugural)
head(docvars(data_corpus_inaugural), 10)
[Package quanteda version 4.0.2 Index]