package
0.11.0
Repository: https://github.com/raystack/meteor.git
Documentation: pkg.go.dev

# README

csv

Usage

source:
  name: csv
  config:
    path: ./path-to-a-file-or-a-directory

Inputs

KeyValueExampleDescription
pathstring./folder/filename.csvPath to a file or a directoryrequired

Notes

Passing directory in path will collect and extract metadata from all .csv files directly inside the directory path.

Outputs

FieldSample Value
resource.urnfilename.csv
resource.namefilename.csv
resource.servicecsv
schema.columns[]Column

Column

FieldSample ValueDescription
nameorder_idcsv header e.g. first row

Contributing

Refer to the contribution guidelines for information on contributing to this module.

# Functions

New returns a pointer to an initialized Extractor Object.

# Structs

Config holds the path configuration for the csv extractor.
Extractor manages the extraction of data from the extractor.