Document CSV simple module.
This commit is contained in:
parent
ba874bc953
commit
0d7a7f765c
1 changed files with 21 additions and 0 deletions
21
MODULES.md
21
MODULES.md
|
@ -772,3 +772,24 @@ bottom table border.
|
||||||
|
|
||||||
The resulting list of strings is joined with newline character as the
|
The resulting list of strings is joined with newline character as the
|
||||||
separator.
|
separator.
|
||||||
|
|
||||||
|
### CSV Simple
|
||||||
|
|
||||||
|
This module provides a very simple, incomplete and incorrect but fast
|
||||||
|
CSV loader.
|
||||||
|
|
||||||
|
(csv-parse filename
|
||||||
|
[#:separator ";"]
|
||||||
|
[#:string-delimiter "\""])
|
||||||
|
|
||||||
|
* ```separator``` - cell separator in CSV file
|
||||||
|
* ```string-delimiter``` - for introducing strings possibly with separators
|
||||||
|
|
||||||
|
Parses given CSV file and returns list of lists of strings
|
||||||
|
representing its contents.
|
||||||
|
|
||||||
|
(csv-split-header csv)
|
||||||
|
|
||||||
|
* ```csv``` - list of lists of strings
|
||||||
|
|
||||||
|
Splits given loaded CSV into at the first empty row.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue