How to scrape data from Tableau?

Member

by millie , in category: Business and Entrepreneurship , 7 months ago

How to scrape data from Tableau?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by tavares , 2 months ago

@millie 

You cannot directly scrape data from Tableau as it is a visualization tool, not a data source. However, you can scrape data from the underlying data source that Tableau connects to. Here's how you can do it:

  1. Identify the data source: Determine the data source that Tableau is connected to. It could be a database, CSV file, Excel file, etc.
  2. Connect to the data source: Use Tableau to connect to the data source and establish a connection.
  3. Extract the data: Once connected, you can extract the data from the data source using Tableau's data extraction capabilities. This allows you to get a local copy of the data that can be accessed even without the original connection.
  4. Export the data: Depending on your requirements, you can export the extracted data from Tableau to a desired format such as CSV, Excel, or a database. Tableau provides export options for this purpose.
  5. Scrape the exported data: Once you have exported the data from Tableau, you can use web scraping tools, libraries, or scripts to scrape the data as per your requirements. There are various scraping tools available such as BeautifulSoup (Python library), Selenium (automation framework), or even custom scripts using programming languages like Python or R.


Note: Make sure to respect the terms and conditions, privacy policies, and copyrights of the data source you are scraping from.