knitr::opts_chunk$set( collapse = TRUE, eval = FALSE, comment = "#>" )
The vvtableau
package provides an interface for interacting with Tableau Server using the Tableau REST API. This vignette will walk you through the main functionalities of the package, demonstrating how to authenticate, retrieve information, and perform various operations on Tableau Server.
library(vvtableau)
To begin, you need to authenticate and establish a connection to Tableau Server. Use the authenticate_server() function to provide the server URL, your username, and password. Here's an example:
tableau <- authenticate_server( server = "https://tableau.server.com", username = "your_username", password = "your_password" )
When authentication has succeeded the tableau
object can be passed to the Tableau REST API methods.
Once connected, you can retrieve various information about Tableau Server using the provided functions. Here is an example to retrieve the jobs on the server:
get_server_jobs( tableau, page_size = 300 )
This vignette covered the basic functionalities of the vvtableau
package, including authentication, retrieving server information, publishing workbooks, managing users and groups, and downloading workbooks and views. For a complete list of functions and their parameters, please refer to the package documentation.
Please note that this vignette serves as a brief introduction to the package and its capabilities. For more detailed instructions and examples, consult the package documentation and explore the individual function documentation.
We hope you find the vvtableau
package helpful in automating your Tableau workflows and enhancing your Tableau Server experience!
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.