Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with CSV format variations #24

Open
6 tasks
nhoizey opened this issue Aug 29, 2018 · 1 comment
Open
6 tasks

Deal with CSV format variations #24

nhoizey opened this issue Aug 29, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nhoizey
Copy link
Member

nhoizey commented Aug 29, 2018

For example, a CSV exported from a Google Analytics report starts like this:

# ----------------------------------------
# nicolas-hoizey.com
# Viewport et densité d'écran
# 20180501-20180731
# ----------------------------------------

Viewport width,Screen density,Pageviews
1920,1,"3,505"
1440,2,"1,341"
1366,1,"1,194"
375,2,725
360,3,587
  • ; separator
  • comment lines
  • empty lines
  • delimiter (")
  • thousands separator (",")
  • decimal separator ("." in English, "," in French)
@nhoizey nhoizey added the enhancement New feature or request label Aug 29, 2018
@nhoizey nhoizey added this to the 2.0.0 milestone Aug 29, 2018
@nhoizey nhoizey added the help wanted Extra attention is needed label Sep 3, 2018
@ryuran
Copy link
Contributor

ryuran commented Nov 30, 2018

Some of this are parser’s options https://csv.js.org/parse/options/

parameters parser’s option
“separator” delimiter
“comment lines” comment
“empty lines” skip_empty_lines
“delimiter” quote

@nhoizey nhoizey removed this from the Later milestone Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants