Skip to contents

Retrieve all countries for which DTM data is publicly available through the API.

Usage

get_all_countries()

Value

A data frame containing the list of all countries.

Examples

# Fetch all countries
countries_df <- get_all_countries()
head(countries_df)
#>                         admin0Name admin0Pcode
#> 1                      Afghanistan         AFG
#> 2              Antigua and Barbuda         ATG
#> 3                    Bahamas (the)         BHS
#> 4 Bolivia (Plurinational State of)         BOL
#> 5                     Burkina Faso         BFA
#> 6                          Burundi         BDI