Skip to contents

Retrieves a list of unique keywords/tags from the Tunisian data catalog API.

Usage

get_keywords(limit = 10, query = NULL)

Arguments

limit

Integer. Maximum number of tags to return (default: 10).

query

Character. Optional search string to filter tags.

Value

A data frame of keywords/tags with counts.

Examples

try({
  get_keywords(limit = 10)
})
#> INFO [2025-03-23 15:18:13] Retrieving dataset keywords
#> INFO [2025-03-23 15:18:13] Retrieved 10 keywords
#>                    keyword count
#> 1      transport terrestre    62
#> 2               production    55
#> 3  convention particulière    50
#> 4        contrat pétrolier    50
#> 5              Statistique    44
#> 6        Affaires Sociales    44
#> 7                     Sfax    41
#> 8               subvention    40
#> 9               superficie    37
#> 10              Production    32