io

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCSV

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

func UnmarshalJSON

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

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

type JSONColumns

type JSONColumns map[string]json.RawMessage

type JSONRecords

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