Skip to content

parseCsvTable ​

Import from: @xbbg/xnews, @xbbg/xnews/parsers

parseCsvTable(text): Record<string, string>[]

Defined in: src/csv.ts (declaration: csv.d.ts:14)

Parses CSV text whose first record is a header into one string record per data row. Cells beyond the header are dropped; missing cells are "".

Parameters ​

text ​

string

Returns ​

Record<string, string>[]

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.