Learn R Programming

uisapi (version 0.1.1)

uis_get_entities: Get geographical entities from UIS API

Description

Retrieves information about geographical entities (countries, regions, etc.) available in the UNESCO Institute for Statistics (UIS) API.

Usage

uis_get_entities(version = NULL)

Value

A data frame with information about geographical entities:

entity_id

Character. The unique identifier for the entity.

entity_name

Character. The name of the geographical entity.

entity_type

Character. The type of entity (e.g., country, region).

region_group

Character. Information about the region grouping.

Arguments

version

Character. The API version to use. If NULL (default), the API's default version will be used. See uis_get_versions for a list of supported versions.

Examples

Run this code
# \donttest{
# Download entities for default version
uis_get_entities()

# Download entities for a specific version
uis_get_entities("20240910-b5ad4d82")
# }

Run the code above in your browser using DataLab