Methods are provided that let you search and extract corpus elements from 'The American Presidency Project' http://www.presidency.ucsb.edu.
The following functions are implemented:
app_eo_list
: Retieve a data frame of metadata about Executive Orders issues in a given yearapp_get_eo
: Retrieve metadata and full text of an executive order by APP idapp_get_inaugurals
: Retrieve metadata and full text for Presidential Inaugural Addressesdevtools::install_github("hrbrmstr/elpresidente")
options(width=120)
library(elpresidente) # current verison packageVersion("elpresidente")
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.