The way R does then, a row of headers and multiple rows of data. So, in this simple publisher syntax, the keyword select result in a frame. Internal to the browser we can have thee standard frame dom.
The syntax accepts simple alias using the sql keyword, as, so:
select yvals from data as y;
plot y;
works, as does:
plot select yvals from objectstore;
The output of simple syntax is displayed immediately in the document. The default output is the standard xml print with no style, as in:
select * from object;
We need a gnutable so we can have table commands:
set header color red;
table select * from framestore;
Like the plot uses svg tags, table uses table tags and style. Any block of simple syntax expands to html compatible dom trees. Simple script can be expanded on load or by user action.
We need one more keyword, get, as in:
get 'http://www.fatyasurce.csv' as data;
which gets the csv file and creates the objectstore with the name data. The general form:
get any resources then select frame elements for selected display method.
One standard text format of a resource is the csv file.
No comments:
Post a Comment