Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Tableau 2021

You're reading from   Mastering Tableau 2021 Implement advanced business intelligence techniques and analytics with Tableau

Arrow left icon
Product type Paperback
Published in May 2021
Publisher Packt
ISBN-13 9781800561649
Length 792 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
David Baldwin David Baldwin
Author Profile Icon David Baldwin
David Baldwin
Marleen Meier Marleen Meier
Author Profile Icon Marleen Meier
Marleen Meier
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Getting Up to Speed – A Review of the Basics 2. All About Data – Getting Your Data Ready FREE CHAPTER 3. Tableau Prep Builder 4. All About Data – Joins, Blends, and Data Structures 5. Table Calculations 6. All About Data – Data Densification, Cubes, and Big Data 7. Level of Detail Calculations 8. Beyond the Basic Chart Types 9. Mapping 10. Tableau for Presentations 11. Visualization Best Practices and Dashboard Design 12. Advanced Analytics 13. Improving Performance 14. Interacting with Tableau Server/Online 15. Programming Tool Integration 16. Another Book You May Enjoy
17. Index

Integrating programming languages

How does integration empower Tableau? It happens through calculated fields. Tableau dynamically interfaces with Rserve or TabPy to pass values and receive results. And Tableau Prep Builder also has R and Python integration as we saw in Chapter 3, Tableau Prep Builder! So let's not waste any time and jump right in.

Basic Tableau-to-R and Tableau-to-Python integration is quite simple: The view shows data based on a calculated field, with the help of which Tableau pushes data to Rserve or TabPy respectively and then retrieves the results via a table calculation:

Figure 15.1: Tableau external services

Naturally, whether you are viewing a workbook on Tableau Desktop or via Tableau Server, if you wish to run R and Python calculations, then Rserve or TabPy must be accessible.

For a proper understanding of the integration, let's also look at the Tableau/R workflow as an example. Terms used in the following diagram...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime