CSVW javascript implementation -- first pass

I've created an initial version of a csv-to-json(-ld) transformer [1].
This is first attempt is very basic.

It takes one required argument, uri, which is the url of a csv file on the
web. The url needs to be escaped (e.g., [2]).

I tested it with Gregg's test harness, and it passes two of the nine tests
:). It truly fails a couple of them, but there are a few where I'm not
sure the expected result is actually correct. I want to wait and look at
the tests again tomorrow with fresh eyes. If I still think there are bugs
in the test harness, I'll report them.

For now the code is up on my personal github [3], but it can be moved to
the csvw space at any time. I'd like to work on it a bit more first.

cheers,
Bill

[1] https://nameless-caverns-2771.herokuapp.com/?uri=
[2] 
https://nameless-caverns-2771.herokuapp.com/?uri=https%3A%2F%2Fraw.githubus
ercontent.com%2Fiherman%2FCSVPlus%2Fgh-pages%2Ftests%2Ftree-ops%2Ftree-ops.
csv
[3] https://github.com/waingram/csvld


--  
Bill Ingram  
Manager, Scholarly Communication and Repository Services
University Library 
University of Illinois at Urbana-Champaign
(217) 333-4648  
wingram2@illinois.edu
  

Received on Thursday, 11 December 2014 05:30:44 UTC