Determines the tables described in a template gathering all the published cells
Source:R/format_template.R
format_template.Rd
Determines the tables described in a template gathering all the published cells
Value
named list of a dataframe describing the tables (metadata) and a list of the modalities of each hierarchical variable (modalities)
Examples
data(enterprise_template)
template_formatted <- format_template(
data = enterprise_template,
indicator_column = "INDICATOR",
spanning_var_tot = list(
ACTIVITY = "BTSXO_S94",
NUMBER_EMPL = "_T",
LEGAL_FORM = "_T"),
field_columns = c("TIME_PERIOD")
)
View(template_formatted$metadata)
#> Error in check_for_XQuartz(file.path(R.home("modules"), "R_de.so")): X11 library is missing: install XQuartz from www.xquartz.org