Skip to contents

Retrieves information about the available versions of the UNESCO Institute for Statistics (UIS) API, including version IDs, descriptions, and theme data.

Usage

uis_get_versions(default = FALSE)

Arguments

default

Logical. Indicates whether only the current default version should be retrievend. Defaults to FALSE.

Value

A data frame with the following columns:

version

Character. The version identifier.

publication_date

Date-time. The date when the version was released.

description

Character. The description of the version.

theme

List column. Each element is a nested data frame containing information about themes available in the version, with columns: theme_id, theme_last_update, theme_description

Examples

# \donttest{
uis_get_versions()
#> # A tibble: 6 × 4
#>   version           publication_date    description                     theme   
#>   <chr>             <dttm>              <chr>                           <list>  
#> 1 20250225-2ae60fad 2025-02-27 15:29:19 February 2025 DR                <tibble>
#> 2 20241121-61101499 2024-11-21 23:37:39 SCCI Data refresh – Nov 2024 -… <tibble>
#> 3 20241113-98786d81 2024-11-21 18:57:35 SCCI data refresh               <tibble>
#> 4 20241030-9d4d089e 2024-10-30 17:28:00 Drop data for CIV on MYS for 1… <tibble>
#> 5 20240913-b8ca1963 2024-09-15 14:44:07 Glossary Update                 <tibble>
#> 6 20240910-b5ad4d82 2024-09-11 06:15:13 September 2024 Data Release (f… <tibble>
# }