Skip to content

LabelledEntriesCSV

Christian Lück edited this page Jul 25, 2022 · 1 revision

de.wwu.scdh.teilsp.extensions.LabelledEntriesCSV

The plugin de.wwu.scdh.teilsp.extensions.LabelledEntriesCSV is used to generate completion suggestions from CSV data. A variety of CSV formats are supported, including CSV according RFC 4180, TDF (=TSV), Excel, various database formats.

Arguments

url

Required: The URL of the CSV file.

format

Optional: The CSV format. E.g. Excel for an Excel spreadsheet or TDF for tab separated values.

delimiter

Optional: The value delimiter in the file.

header

Optional: By default, the plugin assumes, the first row is a header row. But you can pass in a header manually by this parameter.

Form: colname,colname2,colname3

keyColumns

Optional: The columns that go into the key. Multiple columns are possible. They must be delimited by comma.

Default: key

keySeparators

Optional: The interconnectors that go between the key's columns. They must be delimited with comma. If there are less separators that columns minus 1, then the empty string is used at the according position.

prefix

Optional: "A prefix added to each key. E.g. # or persons:.

labelColumns

Optional: The columns that go into the label. Multiple columns are possible. They must be delimited by comma.

Default: label

labelSeparators

Optional: The interconnectors that go between the label's columns. They must be delimited with comma. If there are less separators that columns minus 1, then the empty string is used at the according position.

labelPrefix

Optional: "A prefix added to each label. E.g. # or persons:.