Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A little service that translates selected web services to a uniform collection format, which is used by the Envision browser

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 cache
Octocat-spinner-32 public
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.textile
Octocat-spinner-32 country.rb
Octocat-spinner-32 playlist.rb
Octocat-spinner-32 service.rb
README.textile

Collectionize

Collectionize is just a little aggregator service that translates interesting web services to a uniform collection format.
Those collections that are represented in a readable JSON format can than be handled by
Envision, a browser dedicated to data analysis and visualization tasks.

There’s also a Javascript Library that can be used to process such collections and perform transformations like grouping and sorting on them.
It’s pretty much like Google’s DataTable,
which is part of the Google Visualization API.

Check it out at http://github.com/michael/collection.

Currently available Collections

  • Countries fetched from Freebase.com (/countries)
  • Last.fm Playlists (/playlists)

Last.fm Playlists are fetched used the following approach:

Last.fm data aggregation

Format

Collections have the following format:


{
  "properties": "properties": {
    "name": {
      "name": "Country Name",
      "type": "string",
      "unique": true
    },
    "official_language": {
      "name": "Official language",
      "type": "string",
      "unique": true
    },
    "form_of_government": {
      "name": "Form of governmennt",
      "type": "string",
      "unique": false
    },
    "currency_used": {
      "name": "Currency used",
      "type": "string",
      "unique": true
    },
    "population": {
      "name": "Population",
      "type": "number",
      "unique": true
    },
    "gdp_nominal": {
      "name": "GDP nominal",
      "type": "number",
      "unique": true
    },
    "area": {
      "name": "Area",
      "type": "number",
      "unique": true
    },
    "date_founded": {
      "name": "Date founded",
      "type": "date",
      "unqiue": true
    }
  },
  "items": [
    {
      "name": "Argentina",
      "official_language": "Spanish Language",
      "form_of_government": [
        "Federal republic",
        "Presidential system"
      ],
      "currency_used": "Argentinian Peso",
      "population": 39745613,
      "gdp_nominal": 338700000000.0,
      "area": 2780403.0,
      "date_founded": "1816-07-09"
    },
    ...
  ],
}

Something went wrong with that request. Please try again.