get_table_metadata: Title

Description Usage Arguments Value Examples

View source: R/get_table_metadata.R

Description

Title

Usage

1
get_table_metadata(table_id, variables_only = FALSE, language = c("en", "da"))

Arguments

table_id

Table identifier, e.g. "folk1a"

variables_only

If TRUE returns only information about the variables in the table

language

Language for the return object. Default = "en"

Value

A list with information about the table, like documentation url, variable description, etc. If variables_only = TRUE, returns a data frame with variable information.

Examples

1
2
3
4
5
# Get table metadata for a given table
table_meta <- get_table_metadata(table_id = "folk1c") # a list

# Get only information about the variables in the table
table_meta_vars <- get_table_metadata(table_id = "folk1c", variables_only = TRUE) # a data frame

danstat documentation built on Jan. 31, 2022, 9:08 a.m.