Learn R Programming

tndata (version 0.1.0)

get_themes: Summarize Dataset Themes

Description

Fetches and summarizes themes (groups) alongside the number of datasets in each theme from the Tunisian data catalog API (data.gov.tn).

Usage

get_themes()

Arguments

Value

A tibble (data frame) with two columns:

theme

Character. Name of the theme/group.

dataset_count

Numeric. Number of datasets in the theme.

Examples

Run this code
try({
  themes_summary <- get_themes()
  head(themes_summary)
})

Run the code above in your browser using DataLab