View source: R/DimList2Hierarchy.R
DimList2Hrc | R Documentation |
Conversion between hierarchies/dimList as in sdcTable and TauArgus coded hierarchies
DimList2Hrc(dimList)
Hrc2DimList(hrc, total = "Total")
dimList |
List of data frames according to the specifications in sdcTable |
hrc |
List of character vectors |
total |
String used to name totals. |
See Arguments
Øyvind Langsrud
DimList2Hierarchy
, Hierarchy2Formula
, AutoHierarchies
.
# First generate dimList
dimList <- FindDimLists(SSBtoolsData("sprt_emp_withEU")[, c("geo", "eu", "age")])
dimList
hrc <- DimList2Hrc(dimList)
hrc
dimList2 <- Hrc2DimList(hrc)
identical(dimList, dimList2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.