Learn R Programming

quanteda (version 4.0.1)

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)

  • 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.

Examples

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

Run the code above in your browser using DataLab