Update vvtableau: Tableau Cloud Support

[This article was first published on vusaverse, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Announcing Tableau Cloud Support


In our latest update, we’re excited to announce that vvtableau now supports Tableau Cloud, expanding its capabilities beyond Tableau Server to include the cloud-based platform. This significant enhancement allows users to automate tasks across both Tableau Server and Tableau Cloud, providing a unified interface for managing Tableau resources.

What’s New in vvtableau 0.6.0?

The vvtableau 0.6.0 release brings several key updates that significantly enhance its functionality and usability:

  • Extract Refresh Task Execution: A new function has been added to run extract refresh tasks immediately on the server. This feature is particularly useful for ensuring that your data is always up-to-date without manual intervention.

  • Data Source and Workbook Updates: Functions to update a data source and a workbook on the server have been introduced. These updates allow for dynamic changes to data sources and workbooks, enabling more flexible and responsive data management workflows.

  • Enhanced User and Group Management: With the addition of Users and Groups Tableau REST API methods in vvtableau 0.4.0, the package now offers a more comprehensive set of tools for managing users and groups on Tableau Server and Cloud.

Getting Started with the Updated vvtableau

To take advantage of these new features, you’ll need to update your vvtableau package. Here’s how you can do it:

## Install the package from CRAN


## Or install the development version from GitHub


## Load package


## Authenticate on the Tableau Server using password

tableau <- authenticate_server(
  username = tableau_username(),
  password = tableau_password(),
  base_url = tableau_base_url(),
  api_version = 3.4

## Authenticate on the Tableau Server or Tableau Cloud using Personal Access Token (PAT)

tableau <- authenticate_PAT(
  pat_name = tableau_pat_name(),
  pat_secret = tableau_pat_secret(),
  content_url = tableau_content_url(),
  base_url = tableau_base_url(),
  api_version = 3.4

## The above "tableau" object can now be passed in every Tableau REST API method.
## Example: get all users

users <- get_server_users(
  api_version = 3.4,
  page_number = 1,
  page_size = 100,
  include_metadata = FALSE

Please refer to the function documentation on what values to pass for the argument when using either Tableau Server or Tableau Cloud.

Key Features of vvtableau

For a comprehensive list of features and detailed documentation, we recommend referring to the official vvtableau documentation. It provides in-depth explanations and examples to help you make the most of vvtableau in your R workflows.

Contributing to vvtableau

vvtableau is an open-source project, and contributions from the community are highly encouraged. If you encounter any bugs, have feature requests, or would like to contribute code improvements, you can open an issue or submit a pull request on the GitHub repository.

Further reading

Liked this post? Check out more R-related content on r-bloggers.com.

To leave a comment for the author, please follow the link and comment on their blog: vusaverse.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)