Warning:
This wiki has been archived and is now read-only.

DSS and Data

From DataSheets Community Group
Jump to: navigation, search

DSS is a language that firstly consumes data. The data formats we intend to support in the initial specification is CSV, JSON, XML and RDF.

Overview

DSS is concerned with

  • consuming data,
  • iterating over data,
  • injecting data (transforming HTML)
  • formatting data,
  • tagging data

Consuming data

Data consumption will be done by the browser when it encounters:

  • data property

Each unique data property spawns the retrieval of the data. Each valid and successful data fetch downloaded is known as a dataset. A dataset can be a CSV file, a JSON object or XML. The URL specified could be any valid GET which would return the data. This would be standard HTTP standards. The data consumed, may be linked data, or it may be standalone developer or site-centric data. The browser should connect and get this data.


iterating over data

By default an iterator is created for each dataset. There are DSS properties that control the iterator.

  • iterator
  • iterator-step
  • iterator-direction

tranforming data

formatting data

tagging data

CSV Data

JSON Data

XML Data

RDF Data

See Data and Schema for details on formats that have metadata and schema.