From the course: Tableau and R for Analytics Projects

Unlock this course with a free trial

Join today to access over 25,000 courses taught by industry experts.

Write cluster data to a CSV file for use in Tableau

Write cluster data to a CSV file for use in Tableau

From the course: Tableau and R for Analytics Projects

Write cluster data to a CSV file for use in Tableau

- [Instructor] In the previous movie, I showed you how to perform clustering analysis in R, except that in Tableau, we ran into a problem applying the results to a visualization. In this movie, I will show you how to work around that problem and then show you how to work around another problem that comes up when you do your analysis in Tableau. The sample file I'm using is 06_04_ClusterWorkaround, and you can find it in the Chapter06 folder of the exercise files collection. This workbook brings in data from the ClusterData Excel file, and if I go down to Data Source to preview the data, I'll see that I have three columns, Cluster, Sales, and Profit. I want to do my clustering based on sales and profit only, so I'll focus on columns two and three of the Data Source. And this is one thing that I did incorrectly when I was rehearsing this video. I included all three, including customer numbers, and I don't think it made a…

Contents