documents

package
v2.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeFilterCSVFilesToJSON

func MergeFilterCSVFilesToJSON(inPaths []string, outPath string, inComma rune, perm os.FileMode, andFilter map[string]stringsutil.MatchInfo) error

Types

type DocumentsSet

type DocumentsSet struct {
	Meta      DocumentsSetMeta    `json:"meta"`
	Documents []map[string]string `json:"records"`
}

func NewDocumentsSet

func NewDocumentsSet() DocumentsSet

func ReadMergeFilterCSVFiles

func ReadMergeFilterCSVFiles(inPaths []string, outPath string, inComma rune, andFilter map[string]stringsutil.MatchInfo) (DocumentsSet, error)

func (*DocumentsSet) CreateHistogram

func (ds *DocumentsSet) CreateHistogram(key string)

func (*DocumentsSet) Inflate

func (ds *DocumentsSet) Inflate()

type DocumentsSetMeta

type DocumentsSetMeta struct {
	Count      int                             `json:"count"`
	Histograms map[string]*histogram.Histogram `json:"histograms"`
}

func NewDocumentsSetMeta

func NewDocumentsSetMeta() DocumentsSetMeta

Jump to

Keyboard shortcuts

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