cmoa / collection

The collection data of the Carnegie Museum of Art in Pittsburgh, Pennsylvania
https://collection.cmoa.org
Creative Commons Zero v1.0 Universal
103 stars 22 forks source link

Export arrays not as pipe-delimited fields, but rather JSON arrays #17

Closed danfowler closed 7 years ago

danfowler commented 7 years ago

Lists of items in a field can be expressed as a JSON array instead:

http://specs.frictionlessdata.io/table-schema/#properties

workergnome commented 7 years ago

Except then anyone interpreting the file as CSV would also have to understand how to read and understand JSON, at which point why wouldn't they simply use the JSON dump? Pipe (or semicolon) delimited fields in CSV are very common and understood by our users.

danfowler commented 7 years ago

Yup! I was half intending to say... "or not!" given how common a use case that is. In that case, should we add an issue for the specs: https://github.com/frictionlessdata/specs/issues

workergnome commented 7 years ago

Thanks for the suggestion, but I don't think we'll implement this at this time.