Skip to contents

Retrieves the list of codelist IDs used by a specific dataset from the cache.

Usage

get_dataset_codelists(dataset_id, cache_dir = .istatlab_cache_dir())

Arguments

dataset_id

Character string specifying the dataset ID

cache_dir

Character string specifying the cache directory

Value

Character vector of codelist IDs (e.g., c("CL_FREQ", "CL_ITTER107")), or NULL if dataset not found in cache

Examples

if (FALSE) { # \dontrun{
# Get codelists for a dataset
codelists <- get_dataset_codelists("534_50")
# Returns: c("CL_FREQ", "CL_ITTER107", "CL_ATECO_2007", ...)
} # }