io

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCSV added in v0.2.0

func ReadCSV(reader io.Reader, conf CSVConfig) (map[string]interface{}, []string, error)

func UnmarshalJSON added in v0.2.0

func UnmarshalJSON(r io.Reader) (map[string]interface{}, error)

UnmarshalJSON transforms JSON containing data records or columns into a map of columns that can be used to create a QFrame.

Types

type CSVConfig added in v0.2.0

type CSVConfig struct {
	EmptyNull        bool
	IgnoreEmptyLines bool
	Delimiter        byte
	Types            map[string]types.DataType
	EnumVals         map[string][]string
}

type JSONColumns added in v0.2.0

type JSONColumns map[string]json.RawMessage

type JSONRecords added in v0.2.0

type JSONRecords []map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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