Skip to contents

General demographic informations

Usage

gdt_table_demography(country, years)

Arguments

country

A country code

years

The year for which the information is needed

Value

A tibble

Examples

gdt_table_demography("Switzerland", 2020)
#> # A tibble: 9 × 2
#>   Indicator                        `2020`
#>   <chr>                             <dbl>
#> 1 Population (total)           8638167   
#> 2 Crude birth rate (‰)               9.9 
#> 3 Crude death rate (‰)               8.8 
#> 4 Rate of natural increase (‰)       1.1 
#> 5 Infant mortality rate (‰)          3.5 
#> 6 Total fertility rate               1.46
#> 7 Life expectancy                   83   
#> 8 - male                            81   
#> 9 - female                          85.1