Re: CSVW javascript implementation -- first pass

> On Dec 10, 2014, at 9:30 PM, Ingram, William A <wingram2@illinois.edu> wrote:
> 
> I've created an initial version of a csv-to-json(-ld) transformer [1].
> This is first attempt is very basic.

Great!

> 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.

I wouldn't consider the specifics of those tests as being significant right now, as they were sort of top-of-the head tests Andy and I came up with very early on. The output of your processor may be a better basis for the expected values now, certainly will be more useful than what's in the repo right now.

If you have more tests, it would be great to get them added to the repository; there's nothing there now that exercises any of the external metadata mechanisms, for example.

> 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.

I think your repository is the proper place for this. I'm working on my own implementation, and will maintain it as part of the Ruby RDF suite.

Gregg

> 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:47:27 UTC