loadCountryData: Load data from countries

Description Usage Arguments Value Examples

View source: R/countries.R

Description

Loads a .xlsx file with country data, including demographics, GDP, and economic impact due to Covid-19

Usage

1
loadCountryData(filename, Gavi = F)

Arguments

filename

File name (with path) of the xlsx file with country data

Gavi

Logical, whether to treat Gavi countries as a blcok

Value

a data.table with country data

Examples

1
2
3
4
5
6
## Not run:  
countrydata <- 
  loadCountryData(system.file('extdata','countryData.xlsx',
                              package = 'vaccineEarlyInvest'))

## End(Not run)

jc-castillo/vaccineEarlyInvest documentation built on Sept. 29, 2020, 12:48 p.m.