Learn R Programming

SSBtools (version 0.8.0)

DimList2Hierarchy: DimList2Hierarchy

Description

From hierarchy/dimList as in sdcTable to to-from coded hierarchy

Usage

DimList2Hierarchy(x)

Arguments

x

An element of a dimList as in sdcTable

Value

Data frame with to-from coded hierarchy

Examples

Run this code
# NOT RUN {
# First generate a dimList element 
x <- FindDimLists(SSBtoolsData("sprt_emp_withEU")[, c("geo", "eu")], , total = "Europe")[[1]]

DimList2Hierarchy(x)

# }

Run the code above in your browser using DataLab