o2r-project / o2r-platform

⚠️ Project discontinued ⚠️ See https://github.com/o2r-project/o2r-UI
http://o2r.info/results/
Apache License 2.0
2 stars 8 forks source link

Inspecter in UI - RData representation visualisation #185

Closed Timmimim closed 6 years ago

Timmimim commented 6 years ago

Platform is freshly merged with the current platform master branch, and therefor now more than up to date.

Get your fresh piece of RData-JSON today, with the all-new RData Visualisation, now featured in all o2r-platforms and in o2rDisplayFiles directives near you!

The Visualisation works in the ERC-View overview, as well as the Inspection Creation View. If the chosen .RData file is not bigger than the o2r file size restriction, an HTTP Request is sent to the o2r-inspecter. The Response is a JSON representation of the requested RData. The UI provides a Dropdown List of all Attribute Keys in the Dataset. Upon Selection, the UI determines the Datatype of the given Attribute's value, and displays it accordingly.

Any RData-Datatype will be represented by a combination of the (very limited) JSON datatypes available, and, for the Visualisation, where boiled down to one four datatypes. Possible datatypes are: 1D-Array of Primitives (char, String, number), 1D-Array of Objects, 2D-Array (i.e Matrix), and Object.