Skip to contents

Retrieves comprehensive country information for Algeria from the REST Countries API. This function fetches data including official and common names, geographical information, capital, area, population, and languages.

Usage

get_country_info_dz()

Value

A tibble with one row containing Algeria's country information, or NULL if the API is unavailable.

Examples

# \donttest{
dz_info <- get_country_info_dz()
print(dz_info)
#> # A tibble: 1 × 8
#>   name_common name_official region subregion capital   area population languages
#>   <chr>       <chr>         <chr>  <chr>     <chr>    <dbl>      <int> <chr>    
#> 1 Algeria     People's Dem… Africa Northern… Algiers 2.38e6   44700000 Arabic   
# }