Skip to contents

This function downloads the data for total life expectancy, male life expectancy and female life expectancy

Usage

gdt_wb_lex(country)

Arguments

country

A string with the country name or iso code

Value

A tibble with the requested data:

lex

Total life expectancy

lex_male

Male life expectancy

lex_female

Female life expectancy

Examples

if (FALSE) { # interactive()
gdt_wb_lex("Switzerland")
}