sign_in: Sign In to Tableau Server

Description Usage Arguments Value Examples

View source: R/sign_in.R

Description

Sets the credentials and authenticate for a selected Tableau Server. The sign in function sets a secret access token that can be used for all following API requests. This secret access token is valid for 240 minutes and has to be refreshed after this time period.

Usage

1
sign_in(token_name, token_secret, server_url, site_url = "", api_version)

Arguments

token_name

The name of the Tableau token

token_secret

The Tableau personal access token

server_url

Tableau Server URL

site_url

The Site URL to log in (if left blank it logs into the default site)

api_version

The Tableau REST API version

Value

None.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
sign_in(
  token_name = "my_token",
  personal_access_token = "EE2D2915A4",
  server_url = "https://my-tableau-server.com",
  site_url = "my_site",
  api_version = 3.9)

## End(Not run)

tom-ioki/tableauR documentation built on Dec. 31, 2020, 8:43 a.m.