Pasting from a clipboard
Sometimes it is easier to just paste data from the clipboard than pasting it to Excel or CSV files and then importing them again in Tableau. Tableau does provide a quick import method from the clipboard.
Getting ready
Let's use the Titanic dataset that we used in the Connecting to the text files recipe. The file is at http://biostat.mc.vanderbilt.edu/wiki/pub/Main/DataSets/titanic.txt.
How to do it...
Once you have determined that the Titanic dataset file is on your local drive, perform the following steps to copy the data to Tableau using a clipboard:
- Open the file in Notepad.
- Select all the data and copy everything from the file to the clipboard (Ctrl + A and then Ctrl + C on Windows), and perform the following steps:
- In Tableau, ...
Get Tableau: Creating Interactive Data Visualizations now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.