Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DimensionOptionReader ¶
DimensionOptionReader reads a V4 file and provides unique dimension options.
type HierarchicalLabelReader ¶
type HierarchicalLabelReader struct {
// contains filtered or unexported fields
}
HierarchicalLabelReader reads a code / label pair from a V4 file and parses hierarchy information from the label.
func NewHierarchicalLabelReader ¶
func NewHierarchicalLabelReader(reader DimensionOptionReader, rootLabelCode string, codeListID string) *HierarchicalLabelReader
NewHierarchicalLabelReader returns a new reader. The root code is required as no hierarchy info can be determined from level 0 and 1
type UniqueReader ¶
type UniqueReader struct {
// contains filtered or unexported fields
}
UniqueReader reads unique values from a column in a CSV file.
func NewUniqueReader ¶
func NewUniqueReader(csvReader csv.Reader, codeIndex int, labelIndex int) *UniqueReader
NewUniqueReader configures the reader to return values from the given column indexes.
Click to show internal directories.
Click to hide internal directories.