Re: CSV parser specification?

Alf,

See http://w3c.github.io/csvw/syntax/#parsing. Please add yourself as an editor and feel free to edit that content.

What it really needs to do better is link back to describe the creation of the tabular data model that’s described in the earlier section. Note that that model doesn’t contain anything about indexes of columns or rows, so I have left that out of the parsing description too.

Jeni

------------------------------------------------------
From: Alf Eaton eaton.alf@gmail.com
Reply: Alf Eaton eaton.alf@gmail.com
Date: 5 March 2014 at 18:32:01
To: public-csv-wg@w3.org public-csv-wg@w3.org
Subject:  CSV parser specification?

>  
> Are there any plans to write a specification for a CSV parser,  
> that
> would cover all the kinds of files described in the use cases?  
>  
> I had a go at an outline today[1], in an attempt to organise my
> thoughts about which parameters would be useful to a parser at  
> which
> points during the process.
>  
> pandas[2] is the closest tool I've found that incorporates most  
> or all
> of these (particularly the generation of "multi-index" keys  
> using
> multiple header rows and index columns), though it also includes  
> a lot
> of parameters that are only relevant to parsing/transforming  
> the
> values of each cell, which I think should probably be in a separate  
> step.
>  
> Alf
>  
> [1] https://github.com/hubgit/csvw/wiki/CSV-Parsing
> [2] http://pandas.pydata.org/pandas-docs/stable/io.html#io-read-csv-table  
>  
>  
>  

--  
Jeni Tennison
http://www.jenitennison.com/

Received on Wednesday, 5 March 2014 22:48:40 UTC