quanteda (version 2.1.2)

data_corpus_inaugural: US presidential inaugural address texts

Description

US presidential inaugural address texts, and metadata (for the corpus), from 1789 to present.

Usage

data_corpus_inaugural

Arguments

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)

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.

Examples

Run this code
# NOT RUN {
# some operations on the inaugural corpus
summary(data_corpus_inaugural)
head(docvars(data_corpus_inaugural), 10)
# }

Run the code above in your browser using DataCamp Workspace