Welcome to DataIO
DataIO is a web service that allows you to store data. It then allows you to query for the data in many different ways.
This website also hopes to eventually be a tutorial for the different graphing libraries on the web.
To create a new data set make a post request to /data/__create
(or fill out the web form located here)
with the following information (table_data is the only variable that is required):
- table_title: This represents the title of the chart.
- x_axis_title: This represents the title of the x axis.
- y_axis_title: This represents the title of the y axis.
- x_axis_units: This represents the units of the x axis.
- y_axis_units: This represents the units of the y axis.
- table_data: This represents the information in the table in csv format.
This post request will return back a unique id for your data. You can use this data to query for your data set.
To query for a data set, you can make a get request to /data/{id} where {id} is the unique id associated with the dataset.
You can also pass in the following parameters to the request:
- format: the format parameter can either be set to html, csv, json, flot, or gchart_line
- transpose: whether the data should be transposed or not. Should be set to either true or false.
- multplication_factor: the number that every number in your data set will be multiplied by.
This value can be a floating point number.
- multplication_start_row: this integer value represents the first row that will be
multiplied by the multiplication_factor argument. By default, this value is set to 1.
- base_row: (one needed when format is flot or gchart_line) this integer value represents the row of the table that contains
the values that will be places on the x-axis of the chart. By default, this value is set to 0.
- base_column: (this is an optional parameter and only used when format is flot or gchart_line) this integer value represents the
column of the table that contains the values that will be used in the legend of the chart.
- height: (this is an optional parameter and only used when format gchart_line) this integer value represents the
height of the google chart that is returned.
- width: (this is an optional parameter and only used when format gchart_line) this integer value represents the
width of the google chart that is returned.