NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

The configuration files are available at public/config. There are four configuration files:

FilenameDescription
dataSource.json

...

Specifies information about the data repository. Refer to the dataSource.

...

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

...

json documentation for a detailed description.
dataDescription.json

...

Specifies information regarding each attribute in the data. An attribute could be visual , filtering or key. Refer to the dataDescription.json documentation

...

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.
interactiveFilters.jsonSpecifies information for interactive filters that appear on the left side of the dashboard. Refer to the interactiveFilters.json documentation

...

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
  .
visualization.json

...

Specifies the type of

...

visualizations that

...

appear on the main display panel. Refer to the visualization.json documentation

...

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

...

.

Data Source

...

For a complete overview of the DataSource.json file, refer to the Schema Reference

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
[ (Schema Deprecated]), which describes the data sources. Users need to plug in 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 two sources, s1 and s2 .

...

Code Block
[
{
"attributeName" : "A" ,
"datatype" : "enum" ,
"attributeType" : [ "visual" , "filtering" ],
"dataSourceAlias" : "sourceJoin"
},
{
"attributeName" : "B" ,
"datatype" : "enum" ,
"attributeType" : [ "filtering" ],
"dataSourceAlias" : "sourceJoin"
},
{
"attributeName" : "C" ,
"datatype" : "enum" ,
"attributeType" : [ "visual" , "filtering" ],
"dataSourceAlias" : "sourceJoin"
},
{
"attributeName" : "D" ,
"datatype" : "enum" ,
"attributeType" : [ "visual" , "filtering" ],
"dataSourceAlias" : "sourceJoin"
}
]

Interactive Filters

interactiveFilters.json

For a complete overview of the interactiveFilters.json file, refer to the Schema Reference

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
to define the interactive filters panel that is displayed on the left of the dashboard. This file describes how the dashboard should look.

Code Block
[
{
"attributeName" : "A" ,
"visualization" : {
"visType" : "rowChart"
}
},
{
"attributeName" : "B" ,
"visualization" : {
"visType" : "pieChart"
}
},
{
"attributeName" : "C" ,
"visualization" : {
"visType" : "pieChart"
}
},
{
"attributeName" : "D" ,
"visualization" : {
"visType" : "pieChart"
}
}
]

...

Info

Notes on visTypes

  • The datatype of the attribute must be enum (in the dataDescription.json) for rowChart and pieChart.
  • barChart must have float or integer as their dataType.

Visualization Options

The visualization.json

...

Accepts file accepts an array of objects, each object describing the visualization.

...