Skip to main content
100%

Tableau2csv

✓ Published0🌍 Public
Aantichaos
Last edited Jul 25, 2023
Created on Jul 25, 2023

This example shows how to export a Tableau view’s underlying data to a CSV file via the Tableau REST API. It connects to a Tableau server using personal access tokens, iterates through all workbooks to find a matching workbook and project, then populates the specified view and writes its CSV content to a local file. The script uses the `tableauserverclient` library, with `TSC.Server`, `TSC.PersonalAccessTokenAuth`, `TSC.Pager`, and `server.views.populate_csv` to retrieve the data, and logs success or failure to `tableau2csv.log`.

AI-generated description

Similar vizzes