Welcome [tc18.tableau.com] · 2020-01-06 · Tableau / Customer Consulting. My Office Photo Used...

Post on 20-May-2020

3 views 0 download

Transcript of Welcome [tc18.tableau.com] · 2020-01-06 · Tableau / Customer Consulting. My Office Photo Used...

Welcome

Extract API: Build sophisticated data models with the Extract API

# T C 1 8

Justin Craycraft

Senior Sales Consultant

Tableau / Customer Consulting

My Office

Photo Used with permission

Agenda

1) Tableau Platform

2) Data Connectivity API’s

• Web Data Connector

• Extract API

3) Extract API

• Use-cases

• Demonstration

• Concept and Code Review

• How-to get started

• Resources

Tableau Platform

Automation

Extensions

Embedded Analytics

Data Connectivity

Data Science

Tableau Platform

Inte

gra

tion

s

Enabling Integrations for Developers

Data Connectivity APIs

Web Data Connector

Extract API

Summary of data connectivity

Native Tableau Connectors

ODBC Connections

Extract API Web Data Connector

Use Case Live or Extracts ODBC-compliant data sources

Any data sources w/o native connectors

Web data only

Output Live or Hyper Live or Hyper Hyper only Hyper only

Language n/a SQL C, C++, Java, Python

JavaScript + HTML

Publishing & Refreshing

Tableau Server Tableau Server Managed outside Tableau Server

Tableau Server

Extract API: TCH

The Tableau Platform

• Analytics

• Collaboration

• Content Discovery

• Governance

• Data prep

• Data access

Hyper

Data Code

• Event-driven automation

• Connect to 3rd party App data

• Net-new data model

• Publish (using REST API)

Hyper

Extract API: What you need to get started

What you need to get started

• Data

• Programming skillz in C, C++, Java, or Python

• Tableau API

• IDE

Extract API: Demo #1

Getting started with the Python Sample

1) Online Help

2) Download the API

3) Optional – Setup a Virtual Environment (Python)

4) setup.py

5) python tableauSDKSample.py --build --filename your_data.hyper

Extract API Steps

1) Initialize the API

2) Define the Schema

3) Add the Data (static)

4) Save the Extract

5) Close the API

Extract API: Demo #2

Extract API Steps

1) Initialize the API

2) Define the Schema

3) Add the Data (dynamic)

1) Connect to CSV file

2) Add each row of data in the file to the Extract

4) Save the Extract

5) Close the API

Extract API: Netflix

• Scalability

• Big data

• Isolate Compute

• Accessibility

• Allow users to request Data Extracts

• Agnostic Framework

• Easily talk to different database query engines

Tableau Data Extract

Bonus: Demo #3

REST API Steps to Publish Extract

1) Authenticate to REST API

2) Get the ID’s for Site & Project

3) Publish

1) If >64 MB, break apart file and send in 5 MB chunks

4) Sign Out of the REST API

REST API Steps to Publish Extract

1) POST api/api-version/auth/signin

2) GET /api/api-version/sites/site-id/datasources

3) POST /api/api-version/sites/site-id/datasources?overwrite=overwrite-flag

4) POST /api/api-version/auth/signout

Extract API: What’s coming?

Extract API Roadmap

1) Support for Multi-Table extract in 18.3

2) Improvements to Creation Speed

3) Better support for CSV Import

Extract API: How-to get started

#DataDev Resources

TC18 Developer Track Contenthttp://tabsoft.co/tcdevtrack

Tableau Developer Programhttp://tableau.com/developer

Free environment for development

Early access to info and APIs

Tableau on GitHubhttp://github.com/tableau

Please complete the

session survey from the

Session Details screen

in your TC18 app

Thank you!

#TC18

jcraycraft@tableau.com

#DataDev Resources

TC18 Developer Track Contenthttp://tabsoft.co/tcdevtrack

Tableau Developer Programhttp://tableau.com/developer

Free environment for development

Early access to info and APIs

Tableau on GitHubhttp://github.com/tableau

tc18.tableau.com