+ All Categories
Home > Documents > Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · •...

Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · •...

Date post: 20-Mar-2020
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
85
Spotfire v6 New Features TIBCO Spotfire Delta Training Jumpstart
Transcript
Page 1: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Spotfire v6 New Features

TIBCO Spotfire Delta Training Jumpstart

Page 2: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Map charts

Page 3: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

New map chart

Interaction mode control

Layers control Navigation control

Scale Web map

Page 4: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Creating a map chart

• Layers are added on top of each other in the map chart.

• To position different layers’ items on the map layer,

geocoding is used*.

- Geocoding means associating geographical names such as cities

and countries to latitude/longitude coordinates or features (shapes).

The details are stored in geocoding tables.

• Spotfire provides a number of geocoding tables

organized hierarchically. Column matching** between

”your” data and the provided geocoding tables then

enables automatic positioning of the items.

*When coordinates are provided, these will be used instead of geocoding

**Combining data from multiple data tables in a single visualization

Page 5: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Layer types

Reference layers (not interactive): Map layer:

• Web maps from TIBCO GeoAnalytics (online access

required)

• More map details visible when zooming

• Maps with various levels of detail

provided

Image layer:

• Image added

• To place markers, X and Y coordinates

required in the data table

Page 6: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Layer types

Data layers (interactive): Marker layer:

• Markers are displayed, or pies

• Geocoding can be used

or

• if the table with the data to be visualized contains

geographic coordinates, these can be used for

placing the markers

Feature layer:

• Polygon, line or point shapes

(features) are shown

• Geocoding can be used

Page 7: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Layers control…

Only one layer is interactive at a time. Switch interactive layer by

selecting another radio button in the layers control:

To temporarily hide a

layer, clear its check box.

Markers are marked Shapes are marked

Page 8: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Layers control

Note how the order of the layers

affects the appearance!

The layer farthest from to the

”eye” is drawn first, and the next

layer on top of it and so on.

Several layers, also of the same type,

can be added on top of each other!

Page 9: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Types of reference map layers…

1 1

2

2

3

3

4

5

6

7

7

6

5

4

Page 10: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Types of map layers

Think of combining also different reference layers:

Page 11: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Navigation and interaction mode controls

Panning options:

• Click on any of the four

arrows to move stepwise.

• Select the hand to sweep

the map by clicking and

dragging.

Zooming options:

• Click on the plus sign to

zoom in, and the minus

sign to zoom out.

• Click on the slider

handle and drag it to

wanted zoom level.

Click the dot to return to default view.

Interaction modes:

• Select the arrow to mark items.

Marking by clicking an item at a

time works in both modes though.

• Select the hand to

pan by clicking

and dragging.

Page 12: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Zooming

Zooming allows you to

drill-down into details.

Note the scale!

Page 13: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Zoom visibility

On the Zoom Visibility page, you can set within

which zoom range a layer is to be visible.

Here is shown how the settings to the left affect

what is displayed when zooming in (the slider is

moved upwards):

Page 14: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Map Chart Properties dialogs…

Map specific properties: Appearance:

• Set Auto-zoom

(disables the navigation

and interaction mode

controls)

• Show/hide controls and

scale

• Set Projection

reference system to

None when background

image is used

Legend:

• Specify whether or not layers should be

included in the legend, and when

included, which details

Zoom Visibility:

• See previous slide

Page 15: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Map Chart Properties dialogs

Layers:

• Click Add to add

more layers

• Select a layer and

click Settings to

view/edit them

• Set which layer is

interactive

• Set the layer order

• Specify which data to use for the marker layer

• Specify which data to use for the feature layer

• Open Image Layer Settings to choose image

• Open Map Layer Settings to choose map

type

Each layer has its own settings…

Page 16: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Marker Layer Settings

Essential properties:

Positioning:

Specify method for positioning:

Geocoding or Coordinate columns

Geocoding:

• Specify column that is to be

matched to the geocoding tables

• View provided geocoding tables

(organized hierarchically). Not

already loaded tables can be

loaded, and access to more tables

is provided via Select.

• View and edit column matches

between data tables and

geocoding tables.

Coordinate columns:

• Specify x/y or lat/long columns to

use for positioning

Page 17: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Feature Layer Settings

Geocoding:

• Similar to the

Geocoding part in

the Positioning

section of the

Marker Layers

Settings dialog

Essential properties:

Appearance:

• Specify the look of different kinds of

shapes

• Change transparancy of the layer

• Set whether or not the layer should

be taken into account when auto-

zoom is used

Page 18: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Image Layer Settings

Essential properties:

Data:

• Load the background image

• Specify the extent of the image

• Set whether or not to use auto-zoom

for the layer

• Normally, set the Coordinate

reference system to None

Page 19: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Map Layer Settings

Essential properties:

Map:

• Set the type of map background

Page 20: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example A…

Assume these tables are

loaded. The left-hand

table (which is the default

table) lists precipitation

during July in a number

of cities in each US state,

and the right-hand table

shows the average July

temperature per state.

Let us create a map chart where

• markers indicate the average precipitation for each state

• colored state shapes indicate the temperature

Automatic geocoding takes place as

the STATE column is matched to a

column in a geocoding table…

Page 21: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example A…

Markers in the added

marker layer are

positioned on a standard

map layer. Their sizes are

set to reflect the average

precipitation.

To color the states’

shapes by temperature,

add a feature layer as

shown below:

Remember the column matching

capability enables visualization of several

data tables in the same chart, tables with

”data” as well as geocoding tables.

Page 22: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example A

Also the feature layer is

added using automatic

geocoding as the

States column in the

Temperatures table is

matched to a column in

the geocoding table.

The colors reflect the

July temperature.

Page 23: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example B…

This data table lists percentage

unemployment in municipalities

in the Stockholm area. For each

municipality the unemployment

figures are split into two

categories; those being totally

inactive on the labor market,

and those being active in a

measure.

Create a map chart with markers showing

the total percentage unemployment…

Page 24: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example B…

The markers are drawn at correct

positions as the Municipality column

is matched to a column in a

geocoding table.

What if you

want to drill

down to view

the two

categories’

proportions

for each

municipality?

Page 25: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example B…

Let us create a details visualization within the map chart!

That is, add another layer, a marker layer with pies, and limit

it to data that is marked in the already added marker layer!

See the settings used for the new layer:

Then mark the municipality of

interest to show the pie…

Page 26: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example B

Note the first added marker

layer is still the interactive one!

Mark only one item at a time to

avoid overlapping pies.

Page 27: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example C

Note a new spatial function is available,

GreatCircleDistance (Arg1, Arg2, Arg3, Arg4).

It returns the shortest distance between two coordinates expressed

as latitude/longitude.

Here the function is

used to show airports

within a certain radius

from Gothenburg.

Page 28: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example D…

Markers in a marker layer can be placed on top of an

image layer.

Let us illustrate by creating this ”map chart”, showing

exchange rates as markers*:

The data table used:

*The marker labels are placed as

Center labels on items.

Page 29: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example D

0 1 2 3 4 5 6 7 8 9 10

0

1

2

3

4

5

6

First add an Image Layer*.

Load the image via Browse….

*You may need to remove any added map layer.

To place the markers,

imagine a coordinate system,

for example this one:

Use it to add

appropriate x and y

values to the data table:

To relate your coordinate

system to the image border,

click Extent Settings…:

Normally Reference

coordinate system

and Projection

coordinate system

are set to None!

Page 30: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example E…

Back to the precipitation

data…

To the left, states are

colored by the average

precipitation in July based

on measures in a number

of cities within each state.

The map chart is

set up to let you

mark a state and

view the individual

measures!

Let us show how it

is done…

Consider the fact the same city name

may appear in more than one state!

Page 31: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example E…

Create a map chart, and add a

feature layer colored by the

average precipitation:

Then set the marker layer data to be limited to

only marked data:

The states are placed using automatic geocoding,

applying the column matching below:

Page 32: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example E…

Cities are identified by specifying not only

STATE/Territory, but also City which has

been added to the left. Thus automatic

geocoding cannot take place as the city level

is missing the USA States geocoding table.

To get also a city level, click Select

to access a USA geocoding

hierarchy from the library.

To use the USA Cities level, select it and click Load.

If you wish you can remove the Zip Codes and Counties levels as

they are not used as aggregation levels in this case.

Page 33: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example E…

The needed levels in the geocoding hierarchy

are now provided.

Looking at the Column Matches tells the City

columns are geocoded (but a change to

Upper ([City]) is required)*. However, still the

STATE/Territory column has no match in the

USA Cities table.

To add the match

manually, click New…

*Select the column match and make the change via Edit….

Page 34: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example E…

Also add

labels

and then

all is

set…

To the left, the

STATE/Territory column is

matched to a column in

the USA Cities table*.

Page 35: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Example E

Remember the feature layer is the

layer to be interactive!

Now mark states for which you want

to view markers indicatating

individual measures:

Page 36: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Geocoding tables

Select File > Open From >

Library… to load the geocoding

tables provided by Spotfire. After

checking the content, you can, if

there are inconsistencies between

the geocoding data and ”your”

data, correct it.

Page 37: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Tools > Options...

Default

setting is

automatic

geocoding:

Page 38: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Tools > Options

If you still want to use the 5.5

map charts, select the check

box. This means, 5.5 map

charts are used when creating

a map chart using the menu

or toolbar. In other cases, like

details visualizations, the 6.0

maps are used.

Page 39: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Backgrounds in text areas

HTML editing

Page 40: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Background options in text areas

In text areas you can set a background

• image • color

Page 41: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Background image positioning

• Left

• Center

• Right

• Top

• Center

• Bottom

• In all directions

• Horizontally

• Vertically

• None

Image positioning options:

Examples:

Note Repeat!

Page 42: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

HTML editor...

An HTML editor provides

capabilities to manually

improve text layout and

formatting in text areas.

Two ways to open the

Edit HTML dialog:

• Click <> in the title bar

• Right-click, and select

Edit HTML

Save

Same buttons as

in the text area

edit mode toolbar

Insert JavaScript

Page 43: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…HTML editor…

The Edit HTML dialog for

this text area:

Assume you wish to add a filter to the text area. Either

use the Insert filter button in the edit mode toolbar, or

the Insert filter button in the Edit HTML dialog above...

Inserted Spotfire

controls and

Java Scripts are

listed in this

pane.

Page 44: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…HTML editor…

Here a check box filter has been

created. Note the added

”SpotfireControl” in the editor:

You can edit a

Spotfire Control

and change its

format. Select it

in the right-hand

pane, and then

click Edit… or

Format….

Page 45: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…HTML editor…

Change the filter control:

Page 46: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…HTML editor

Change the

action control:

If you start editing HTML manually,

it is recommended to continue

using the HTML editor in order not

to get unexpected results.

Page 47: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Insert JavaScript

Add a JavaScript to a text area:

Page 48: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Images on axes

Page 49: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Images on Axes

In these visualizations, images can represent categorical values on*:

Images in hierarchies are allowed

the X-axis the Category axis

the X- axis and Y-axis

the X-axis

*Flag is a binary column.

Page 50: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Label Rendering setting

For example, the

settings made for

this hierarchy are:

Page 51: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Refreshing a data table

Page 52: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Refresh data table

When refreshing a data table in the Data Table Properties

dialog, choose between With Prompt and Without Prompt.

An example of refreshing data using With Prompt follows…

• With Prompt allows you to view and edit any specifications

made to your data (like transformations) before refreshing it.

• Without Prompt reloads the single data table applying the

specifications directly.

Page 53: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

With Prompt…

This data table is to be loaded into Spotfire.

Assume you want to also calculate the

difference between Sales and Cost, and

include the calculated column in the import.

A transformation is added…

Example:

Page 54: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

Here the Calculate

new column

transformation is

added from the Add

Data Tables dialog

but can just as well

be added via for

example, Insert >

Transformations.

Calculate New Column dialog

Page 55: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

To the right the data is loaded,

applying the added transformation:

Now click Refresh Data, the

With Prompt option in the Data

Table Properties dialog.

Page 56: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

You will be presented first to the Excel Import dialog,

where you, if you wish, can make changes…

…and then to the Calculate New

Column dialog. Assume you prefer

to express the Profit as a ratio

instead. Now you have the option to

edit the expression…

Calculate New Column dialog

Page 57: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt

…and the loaded data gets

refreshed applying your change:

To conclude, the With Prompt option allows you

to view what steps have been taken to the data

import but also make changes/corrections to them.

Page 58: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Insert > Transformations

Page 59: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Add transformations to imported data tables

Now you can add transformations

not only via

• File > Add Data Tables…

• File > Replace Data Table…

• Insert > Columns…

• Insert > Rows…

but also to already loaded data

tables via

• Insert > Transformations.

Page 60: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Insert Transformations dialog

Select the transformation of

interest, and click Add….

Also Preview and Edit… work

in the same way as before.

The same

transformations

are available.

Page 61: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Example: Pivot

The data table to the left has been imported into

the analysis. Assume you wish to switch

temperatures from Celsius to Fahrenheit and also

pivot the table via Insert > Transformations:

Page 62: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Limitations

You cannot perform transformations on

• Calculated columns

• Columns in tag collections

• Columns created in K-means clustering and Line

Similarity calculations

• In-database data (if not imported into Spotfire)*

*Another new feature

Page 63: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Refreshing a data table

Page 64: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Refresh data table

When refreshing a data table in the Data Table Properties

dialog, choose between With Prompt and Without Prompt.

An example of refreshing data using With Prompt follows…

• With Prompt allows you to view and edit any specifications

made to your data (like transformations) before refreshing it.

• Without Prompt reloads the single data table applying the

specifications directly.

Page 65: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

With Prompt…

This data table is to be loaded into Spotfire.

Assume you want to also calculate the

difference between Sales and Cost, and

include the calculated column in the import.

A transformation is added…

Example:

Page 66: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

Here the Calculate

new column

transformation is

added from the Add

Data Tables dialog

but can just as well

be added via for

example, Insert >

Transformations.

Calculate New Column dialog

Page 67: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

To the right the data is loaded,

applying the added transformation:

Now click Refresh Data, the

With Prompt option in the Data

Table Properties dialog.

Page 68: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt…

You will be presented first to the Excel Import dialog,

where you, if you wish, can make changes…

…and then to the Calculate New

Column dialog. Assume you prefer

to express the Profit as a ratio

instead. Now you have the option to

edit the expression…

Calculate New Column dialog

Page 69: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…With Prompt

…and the loaded data gets

refreshed applying your change:

To conclude, the With Prompt option allows you

to view what steps have been taken to the data

import but also make changes/corrections to them.

Page 70: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Importing in-database data

Page 71: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Combining in-database and in-memory analytics

Now it is possible to, using the connectors,

import data from external sources into

Spotfire’s internal engine. In that way, the

same capabilities as for in-memory data

become applicable to data tables in

connection to external systems.

Page 72: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Add Data Tables…

No matter data source, and no matter data tables are to be

imported or kept external, the same option is selected for

accessing the data: Add Data Tables….

Also on-demand data tables are handled from there:

Spotfire 5.5 Spotfire 6.0

Page 73: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Add Data Tables…

The data sources are

grouped under headers.

Note the search field:

New data sources:

*Data tables from SBDF

files in the library

**Data tables from data

functions

*

**

Page 74: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Add Data Tables…

Selecting File as

data source

automatically sets

Load method to

Import data table,

that is, data is

processed in the

internal data engine

(in-memory data).

Page 75: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Add Data Tables…

Selecting a Connection To

database (here Microsoft SQL

Server) activates the Load

method options. You decide

whether you want to

• import the external data into

Spotfire

or

• keep it in the database.

Transformations are hidden for

both the options. However, the

Import data table option allows

you to make transformations using

Insert > Transformations….

Note the check boxes for data

tables from connections. You

can decide whether a data

table is to be used or not.

Page 76: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

…Add Data Tables

The Load on demand setting is applicable

when working with data tables based on

information links or data tables in

connections with external systems.

To specify what

will control the

loading, click

Settings…. The

opened dialog

lets you define

the input. Then

continue in the

same way as in

Spotfire 5.5.

Page 77: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Replacing Data Table

The Replace Data

Table dialog contains

the similar settings:

Page 78: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Inserting columns and rows

Provided the data table is imported, columns and rows can be added to it from any of

the data sources. All added columns and rows will be imported, no matter data source:

Load on demand applicable when working with

data tables based on information links or data

tables in connections to external systems.

Page 79: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Changes in Properties dialogs

Page 80: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Column Properties dialog

New tab, Geocoding,

lets you specify that a

column contains

geographic information

which can be used for

positioning.

Page 81: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Data Table Properties dialog

Clear the check box if

you do not want to

show the selected data

table in axis selectors

(beneficial for example

to hide tables used

only as references, like

geocoding tables).

Select Cache calculated columns to avoid

unnecessary recalculations. Then recalculations only

take place upon changes in the underlying data.

If you clear the check box, recalculations are made

every time you open the analysis, even when data is

unchanged. The file size gets smaller though.

Described in

another slide

News in the Data Table Properties dialog:

Page 82: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Data Connection Properties dialog

Synchronizes the connection (or a

shared connection data source) with the

library.

The capability is needed to make a

change of a connection in the library

available in the document without having

to close and open the document.

Two buttons have been removed: Add New and Edit Data Tables….

Page 83: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Miscellaneous

Page 84: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Exporting data to library

You can export data to the library,

saved as an SBDF file*, that is, the

data is stored in binary form.

- If you create your own geocoding tables,

these can be exported to the library.

*Spotfire Binary Data Format

Page 85: Spotfire v6 New Features - Spotfire Trainingmy.ten.tibco.com/.../9/Spotfire6_NewFeatures.pdf · • Spotfire provides a number of geocoding tables organized hierarchically. Column

Missing files

When opening an analyses in which paths to linked files are

incorrect, new options available:

Missing local file Missing file from library

Note an analysis can be opened anyway!


Recommended