dimension

package
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extract

type Extract struct {
	DimensionColumnOffset int
	HeaderRow             []string
	InstanceID            string
	Line                  []string
	CodelistMap           map[string]string
}

Extract represents all information needed to extract dimensions

func (*Extract) Extract

func (extract *Extract) Extract() (map[string]dataset.OptionPost, error)

Extract method checks within csv line for unique dimensions from the consumed dataset and returns them

type InvalidNumberOfColumns

type InvalidNumberOfColumns struct {
	Line []string
}

InvalidNumberOfColumns is returned when the number of columns is not divisible by 2

func (*InvalidNumberOfColumns) Error

func (e *InvalidNumberOfColumns) Error() string

type MissingDimensionValues

type MissingDimensionValues struct {
	Line []string
}

MissingDimensionValues returns a list of missing dimension values

func (*MissingDimensionValues) Error

func (e *MissingDimensionValues) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL