Skip to contents

Downloads the crosstab data from a Tableau view in Excel format.

Usage

download_tableau_crosstab_excel(
  tableau,
  view_id,
  path_to_save,
  api_version = 3.16
)

Arguments

tableau

A list containing the Tableau authentication variables: `base_url`, `token`, `user_id`, and `site_id`.

view_id

The ID of the view to download.

path_to_save

The directory to write the crosstab Excel file to.

api_version

The API version to use (default: 3.16).

Note

If a crosstab is exported from a dashboard, data from only the first view in the dashboard will appear in the .xlsx file. Downloads of data from story dashboards are not supported at this time.