![]() |
Best Data Format?
There's been some interest in making some of the raw data we use in our database available for everyone to use independently, and I'm currently in the process of making that happen... so to anyone who might like to use this, what format would be most accessible / easiest to integrate / etc?
I've already started to add in support for JSON (mostly because of its language / platform friendliness / ease of use) but I'm sure there's some other formats that would work better. XML is toward the top of the list, but from personal experience I know it's a pain to parse and may complicate things for anyone wishing to use it. Exporting as an Excel spreadsheet / PDF document isn't currently at the top of the list, but can certainly be bumped up if there's enough interest You can see a first taste of the JSON access here, others will accessible similarly: http://glass.frcdb.net/team/1/json It should work with any team number, and more exported data (event-wide, etc) should be available soon using a similar URL scheme. Note that this only works on our test site, http://glass.frcdb.net/. Feel free to comment/offer suggestions on other new things as well -- we're adding support for more years ('09 is almost ready) as well as per-event (and soon to be per-team) wikis and other features to help document FRC. Thanks for any suggestions! |
Re: Best Data Format?
Quote:
|
Re: Best Data Format?
I second Ether's comment. CSV can trivially be imported into Excel, Access, parsed into XML or just perused manually if necessary.
I think the goal should be to select a format that is as universally accessible as possible, while maintaining the data value. |
Re: Best Data Format?
I had partially dismissed CSV/TSV/PSV/etc before because I wasn't able to export our data tree to it directly. But it's probably the most accessible format we can offer so I think I'll need to find a way :P
I don't think it could be done in the same manner as JSON or other tree-based formats (XML, etc) so it'd probably multiple files of lists, like: teams.csv Code:
# number, nickname, location, rookie season, other stats...Code:
# name, short name, start date, end date, other statsCode:
# number, red 1, red 2, red 3, blue 1, blue 2, blue 3, red score, blue scoreWe've also finished JSON exporting for events, mostly, e.g. http://glass.frcdb.net/event/colorado/json returns basically the same data as the normal event page. (A somewhat more readable example of event JSON here). With any luck, the 2 current choices should make things pretty accessible! |
Re: Best Data Format?
Quote:
|
Re: Best Data Format?
I've proposed a standard XML format, of which you can find in my footer:
Quote:
I might look at representing the data points with an RDF data model, a model that makes statements about resources (for instance, (X alliance) scored (x points), or (Y team) has a penalty "crossed the line")... It's still rather hard to use, but could be very cool for analytics. If you have data you just want to get rid of, use CSV or JSON first, that's easiest to parse and can be converted into other formats with very little scripting. |
Re: Best Data Format?
Well, our JSON interface interface is working nicely, and currently looks something like this:
Code:
http://frcdb.net/event/whatever/json (single event, includes match data and standings)Anyway, it‘s a good thing someone‘s thought to make a standard XML format! We‘ve been planning to offer that but lost some priority when it was decidedly too hard to parse, but standardizing it can make this a ton easier. CSV is still in the works, but converting our data to a relational model tends to be more time consuming than simply dumping it out :P Apparently that‘s what we get for storing everything with mass serialization instead of in an SQL database like we should have... |
| All times are GMT -5. The time now is 17:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi