Reading Executive Communications Dataset lazily This function imports data from the ECD lazily meaning the data is out loaded out of memory

Description

Reading Executive Communications Dataset lazily

This function imports data from the ECD lazily meaning the data is out loaded out of memory

Usage

lazy_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.
language a character vector with a lanaguage or languages in our dataset to download.
full_ecd to download the full Executive Communications Dataset set full_ecd to TRUE
ecd_version a character of ecd versions.

Value

A tibble with the specified country/countries or language/languages

Examples

library("ecdata")

library(ecdata)

## load one country 

lazy_load_ecd(country = 'Greece')

## displays data from the USA


## load multiple countries 

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

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

# load full ecd