elpresidente

Description

Methods are provided that let you search and extract corpus elements from 'The American Presidency Project' http://www.presidency.ucsb.edu.

What's Inside The Tin

The following functions are implemented:

Installation

devtools::install_github("hrbrmstr/elpresidente")
options(width=120)

Usage

library(elpresidente)

# current verison
packageVersion("elpresidente")

Example

library(purrr)
library(tidyr)
library(dplyr)
app_eo_list(1826) %>%
  mutate(eo_info = map(eo_id, app_get_eo)) %>%
  unnest() %>%
  glimpse()

app_eo_list(2014) %>%
  mutate(eo_info = map(eo_id, app_get_eo)) %>%
  unnest() %>%
  glimpse()
app_get_inaugurals()


hrbrmstr/elpresidente documentation built on May 23, 2019, 8:38 a.m.