Instance and metadata files attached.

-------- Forwarded Message --------
Subject: Re: Convenience suggestion: Allow metadata in a CSV file
Date: Wed, 29 Apr 2015 23:01:43 -0400
From: Yakov Shafranovich <[email protected]>
To: David Booth <[email protected]>
CC: W3C CSV on the Web Working Group <[email protected]>

Do you have a sample file?

On Wed, Apr 29, 2015 at 10:43 PM, David Booth <[email protected]> wrote:
I don't know if the working group has already considered this, but I'd like
to suggest consider allowing CSV metadata to be specified in another CSV
file, as an alternative to JSON.  I have found this approach to be quite
convenient in a tool that I've been developing, and I think it could
increase uptake of a CSV metadata standard.

Here is a very short mockup video (2 minutes 59 seconds) that illustrates
this approach:
https://www.youtube.com/watch?v=LmQWHdaN8_w

I realize that some CSV metadata authors may prefer JSON syntax.  But as
simple as JSON is, spreadsheet competence is far more widespread.  Also I
would not blame anyone for being disinclined to consider this approach given
the late date.  But this approach only involves different syntax -- not
semantics -- and if it does indeed lower the adoption barrier then it seems
to me that it would be worth considering.

What do others think?

Thanks,
David Booth







GID,On Street,Species,Trim Cycle,Inventory Date
1,ADDISON AV,Celtis australis,Large Tree Routine Prune,10/18/2010
2,EMERSON ST,Liquidambar styraciflua,Large Tree Routine Prune,6/2/2010
3,EMERSON ST,Liquidambar styraciflua,Large Tree Routine Prune,6/2/2010
4,STATE ST,Elm,Large Tree Routine Prune,01/01/14
!tabular-metadata,GID,On Street,Species,Trim Cycle,Inventory Date
@id tree-ops.csv,,,,,
dc:license http://opendefinition.org/licenses/cc-by/,,,,,
primaryKey,TRUE,,,,
,,,,,
name,GID,on-street,species,trim-cycle,inventory-date
dc:description,An identifier for the operation on a tree.,The street that the tree is on.,The species of the tree.,The operation performed on the tree.,The date of the operation that was performed.
datatype,string,string,string,string,date
format,,,,,M/D/YYYY
,,,,,
,1,ADDISON AV,Celtis australis,Large Tree Routine Prune,10/18/2010
,2,EMERSON ST,Liquidambar styraciflua,Large Tree Routine Prune,6/2/2010
,3,EMERSON ST,Liquidambar styraciflua,Large Tree Routine Prune,6/2/2010

Reply via email to