Reading Executive Communications Dataset This function imports data from the ECD

Description

Reading Executive Communications Dataset

This function imports data from the ECD

Usage

load_ecd(
  country = NULL,
  language = NULL,
  full_ecd = FALSE,
  ecd_version = "1.0.0"
)

Arguments

country a character vector with a country or countries in our dataset to download. For a list of valid names, call "ecd_country_dictionary"
language a character vector with a lanaguage or languages in our dataset to download. For a list of valid languages call "ecd_country_dictionary"
full_ecd to download the full Executive Communications Dataset set full_ecd to TRUE and don’t provide an argument to the country argument
ecd_version a character of ecd versions.

Examples

library("ecdata")

library(ecdata)

## load one country 

load_ecd(country = 'United States of America')

## displays data from the USA


## load multiple countries 

load_ecd(country = c('Turkey', 'Republic of South Korea', 'India'))

## displays data from Turkey, South Korea, and India

# load full ecd 


load_ecd(full_ecd = TRUE)