NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be will be undergoing maintenance on Monday, June 24th between 1000 ET and 1100 ET.
Wiki will remain available, but users may experience screen refreshes or HTTP 502 errors during the maintenance period. If you encounter these errors, wait 1-2 minutes, then refresh your page.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • What is datascope Datascope is a platform for visualizing massive data. Datascope generates dashboards that are interactive and the visualizations are coordinated. This can be used to slice/dice the data and generate different views.
  • Cool! So how do I get started? Start by installing Datascope locally. Now generate a Hello world dashboard using Titanic survivor data. TUTORIAL
    Multiexcerpt include
    nopaneltrue
    MultiExcerptNameExitDisclaimer
    PageWithExcerptwikicontent:Exit Disclaimer to Include
  • What does the demo do? The demo should present a dashboard similar to the ones below: (Links to dashboards). The left pane is called interactive filters and the right pane is called visualizations . Click and interact with the interactive filters to slice and dice your data. Note that all the visualizations are coordinated!
  • Smooth! How does it work? It uses 4 configuration files present in public/config :
    • dataSource.json: tells datascope how to fetch the data

    • dataDescription.json: What are the different attributes of the data and their data types.
    • interactiveFilters.json: The filters on the left hand side of the dashboard
    • visualization.json: The visualizations on the right-hand side.
  • If you're using data from flat files then you should put your data in data/
  • Well the titanic dataset is a bore! Can I use an interesting dataset : Sure! Datascope accepts data from in csv or json format from files , REST APIs, and Databases.
  • Configuring these dashboards is a pain! Are there any tools to help me out with this? : You can use the Datascope Author (https://github.com/lastlegion/AuthorDataExplorer
    Multiexcerpt include
    nopaneltrue
    MultiExcerptNameExitDisclaimer
    PageWithExcerptwikicontent:Exit Disclaimer to Include
    ) tool to generate dashboards. This will provide you with a neat interface to generate configuration files that you can use with Datascope. It's quite unstable though :(.
  • How can I start contributing?
    • Take a clean dataset( Collection of awesome public datasets ) and generate a Datascope dashboard. A nice dataset with interesting results would be a plus.
    • This tells us that you're able to install it and have an understanding of configuring it.
    • File issues that you face while setting up your dashboard.

...

Installation guide

PREREQUISITES

  • Node.js
  • Grunt npm install gruntcli

...

  • gruntclig (might require root)

INSTALLATION

...

  • Clone the repository

...

  • Switch to dev branch git checkout dev

...

  • npm install (might require root)

...

  • On the project root run grunt browserify

...

RUNNING

...

  • Create configuration directory mkdir public/config

...

  • Copy the example configuration files. cp examples/TitanicSurvivors/config/*

...

  • public/config/

...

...

  • Copy the titanic

...

  • survivors dataset. cp

...

  • examples/TitanicSurvivors/data/titanicClean.json data/

...

...

  • Run the app node app.js

Configuring Datascope

The configuration files are available at public/config . There are 4 configuration files:
1. dataSource.json The dataSource.json file specifies information about the data repository. Refer to the dataSource.json documentation for a detailed description.
2. dataDescription.json The dataDescription.json file specifies information regarding each attribute in the data. An attribute could be visual , filtering or key . Refer to dataDescription.json documentation
3. interactiveFilters.json Specifies information for interactive filters that appear on the left side of the dashboard. Refer to interactiveFilters.json documentation
4. visualization.json Specify the type of visualization that shall appear on the main display panel. Refer to visualization.json documentation
DataSource.json
For a complete overview please look at the Schema Reference [ Schema Deprecated ] Describes the data sources. Users need to plugin information about their data repositories. The
system would use the information to access the data and use it for creating the dashboards.
Consider the following example in which we're fetching data from 2 sources s1 and s2 .

...