Skip to contents

Is used by ReadDatasetCodelists.

Usage

ReadEBXHierarchy(dim_level1_ID, dim_level2_ID)

Arguments

dim_level1_ID

ID upper level of a hierarchy, as returned by GetDimensionGroups$EBXCodelist

dim_level2_ID

lower level of a hierarchy, as returned by GetDimensions$EBXCodelist

Value

grouping as a data.table with two columns(parent,child)

Details

This function calls GetGroupConnectionIDs to find possible grouping solutions accross multiple levels. For each of these levels if reads the ReadEBXGroup grouping, combining all levels to a final result. In case there are multiple group solutions reported by GetGroupConnectionIDs, each solution is resolved and the groupings for each solution are combined into a final result.

Author

Thomas Berger, thomas.berger@fao.org