Liking cljdoc? Tell your friends :D

csv2rdf.tabular.csv.reader


is-comment-row?clj

(is-comment-row? {:keys [type]})
source

line-terminators->trieclj

(line-terminators->trie terminator-strings)
source

make-rowclj

(make-row row-content source-row-num {:keys [commentPrefix] :as options})
source

make-row-contents-seqclj

(make-row-contents-seq input-stream options)
source

make-row-seqclj

(make-row-seq input-stream options)
source

make-tabular-readerclj

(make-tabular-reader stream {:keys [encoding] :as options})
source

maybe-char-atclj

(maybe-char-at s index)
source

parse-cell-double-quoteclj

(parse-cell-double-quote row-content
                         source-row-number
                         start-index
                         {:keys [quoteChar delimiter] :as options})

Parses a tabular cell within a file where the escape and quote character are the same, starting from a given index in a source row string. Returns a map containing the raw cell contents and the string index following the cell within the source string. The index will be one past the end of the string if the cell is the last one within the row.

Parses a tabular cell within a file where the escape and quote
character are the same, starting from a given index in a source row
string. Returns a map containing the raw cell contents and the
string index following the cell within the source string. The index
will be one past the end of the string if the cell is the last one
within the row.
sourceraw docstring

parse-cell-escapeclj

(parse-cell-escape row-content
                   source-row-number
                   start-index
                   {:keys [escapeChar quoteChar delimiter trim-mode]
                    :as options})

Parses a tabular cell within a file where the escape and quote character are different, starting from a given index in a source row string. Returns a map containing the raw cell contents and the string index following the cell within the source string. The index will be one past the end of the string if the cell is the last one within the row.

Parses a tabular cell within a file where the escape and quote
character are different, starting from a given index in a source row
string. Returns a map containing the raw cell contents and the
string index following the cell within the source string. The index
will be one past the end of the string if the cell is the last one
within the row.
sourceraw docstring

parse-row-cellsclj

(parse-row-cells row-content
                 source-row-number
                 {:keys [escapeChar quoteChar delimiter trim-mode] :as options})

Parses the cells within a single tabular row and trims them according to the dialect trim mode.

Parses the cells within a single tabular row and trims them according
to the dialect trim mode.
sourceraw docstring

(read-next-row-content reader escape-char quote-char line-terminator-trie)
source

read-quoted-valueclj

(read-quoted-value reader escape-char quote-char)
source

read-rowsclj

(read-rows csv-source dialect)

Returns a lazy sequence of CSV rows from the underlying reader. The row records contain the source row number (reader is initially assumed to be positioned on row 1), the parsed content and cells along with any comment. Rows are classified as comments or data rows containing cell data. Cell data values are trimmed according to the trim-mode specified by the options.

Returns a lazy sequence of CSV rows from the underlying reader. The row records contain
the source row number (reader is initially assumed to be positioned on row 1), the parsed
content and cells along with any comment. Rows are classified as comments or data rows containing
cell data. Cell data values are trimmed according to the trim-mode specified by the options.
sourceraw docstring

read-tabular-sourceclj

(read-tabular-source csv-source dialect)
source

row-content-iteratorclj

(row-content-iterator reader {:keys [quoteChar escapeChar lineTerminators]})
source

row-contents->rowsclj

(row-contents->rows row-contents options)

Converts a sequence of row contents into a sequence of rows

Converts a sequence of row contents into a sequence of rows
sourceraw docstring

row-contents-seqclj

(row-contents-seq reader options)
source

trim-cellclj

(trim-cell value trim-mode)
source

try-read-line-terminatorclj

(try-read-line-terminator reader trie)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close