Title: | R Interface for 'Tableau' Services |
---|---|
Description: | Provides an R interface for interacting with the 'Tableau' Server. It allows users to perform various operations such as publishing workbooks, refreshing data extracts, and managing users using the 'Tableau' REST API (see <https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm> for details). Additionally, it includes functions to perform manipulations on local 'Tableau' workbooks. |
Authors: | Tomer Iwan [aut, cre], Ruben Korvinus [ctb], Jorn Amatdoelrasit [ctb], VU Analytics [cph] |
Maintainer: | Tomer Iwan <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.7.0 |
Built: | 2024-10-28 05:21:18 UTC |
Source: | https://github.com/vusaverse/vvtableau |
Adds one or more tags to the specified view in the Tableau Server using the provided authentication credentials.
add_tags_to_view(tableau, api_version = 3.8, view_id, tags)
add_tags_to_view(tableau, api_version = 3.8, view_id, tags)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.8). |
view_id |
The ID of the view to add tags to. |
tags |
A vector of tags to add to the view. |
The response from the API.
Other Tableau REST API:
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Adds one or more tags to the specified workbook in the Tableau Server using the provided authentication credentials.
add_tags_to_workbook(tableau, api_version = 3.8, workbook_id, tags)
add_tags_to_workbook(tableau, api_version = 3.8, workbook_id, tags)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.8). |
workbook_id |
The ID of the workbook to add tags to. |
tags |
A vector of tags to add to the workbook. |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Adds a user to the specified group.
add_user_to_group(tableau, api_version = 3.19, group_id, user_id)
add_user_to_group(tableau, api_version = 3.19, group_id, user_id)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The version of the API to use, such as 3.19 (default: 3.19). |
group_id |
The ID of the group to add the user to. |
user_id |
The ID (not name) of the user to add. You can get the user ID by calling Get Users on Site. |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Adds a user to Tableau Server or Tableau and assigns the user to the specified site.
add_user_to_site( tableau, site_role, user_name, auth_setting = NULL, api_version = 3.19 )
add_user_to_site( tableau, site_role, user_name, auth_setting = NULL, api_version = 3.19 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
site_role |
The site role to assign to the user. |
user_name |
The name of the user to add. |
auth_setting |
The authentication type for the user. |
api_version |
The API version to use (default: 3.19). |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Adjust the font style of a tableau file
adjust_tableau_font_style( import_files, font_style = "Tableau Regular", save_location = NULL )
adjust_tableau_font_style( import_files, font_style = "Tableau Regular", save_location = NULL )
import_files |
selected tableau file or folder, to change its font style. If it is only a file, make sure it is a twb file. |
font_style |
the name of the font style you want to use (in quotation marks "") |
save_location |
The location to which the adjusted tableau file will be saved (this needs to be a .twb file). If empty, the adjusted tableau file will be overwritten. |
tableau file with the correct font style.
Adjust the size of selected tableau file/files.
adjust_tableau_size( import_files, save_location = NULL, maxheight = NULL, maxwidth = NULL, minheight = NULL, minwidth = NULL )
adjust_tableau_size( import_files, save_location = NULL, maxheight = NULL, maxwidth = NULL, minheight = NULL, minwidth = NULL )
import_files |
selected tableau file or folder, to change its size. If it is only one file, make sure it is a twb file. |
save_location |
The location to which the adjusted tableau file will be saved (this needs to be a .twb file). If empty, the adjusted tableau file will be overwritten. |
maxheight |
Max height for tableau file, if NULL use system variables. |
maxwidth |
Max width for tableau file, if NULL use system variables. |
minheight |
Min height for tableau file, if NULL use system variables. |
minwidth |
Min width for tableau file, if NULL use system variables. |
tableau file with the correct size.
Other xml:
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
This function authenticates to a Tableau Server or Tableau Cloud using a personal access token (PAT).
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 )
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 )
pat_name |
The name of the personal access token (PAT). Defaults to the 'TABLEAU_PAT_NAME' environment variable. |
pat_secret |
The secret of the personal access token (PAT). Defaults to the 'TABLEAU_PAT_SECRET' environment variable. |
content_url |
The URL of the content to authenticate. Defaults to the 'TABLEAU_CONTENT_URL' environment variable. For Tableau Server, this is typically the URL of the Tableau server followed by the site ID. For Tableau Cloud, this is usually the URL of the Tableau cloud workbook. |
base_url |
The base URL of the Tableau server or Tableau cloud. Defaults to the 'TABLEAU_BASE_URL' environment variable. For Tableau Server, this is usually the URL of the Tableau server. For Tableau Cloud, this is usually the URL of the Tableau cloud, and it must contain the pod name, such as 10az, 10ay, or us-east-1. For example, the base URL to sign in to a site in the 10ay pod would be: https://10ay.online.tableau.com. |
api_version |
The API version to use. Default is 3.4. |
A list containing the base URL, the access token, the site ID, and the user ID.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Authenticates the user on the Tableau server and retrieves the necessary authentication variables for running other Tableau REST API methods.
authenticate_server( username = tableau_username(), password = tableau_password(), base_url = tableau_base_url(), api_version = 3.4 )
authenticate_server( username = tableau_username(), password = tableau_password(), base_url = tableau_base_url(), api_version = 3.4 )
username |
The username on the Tableau server. Defaults to the 'TABLEAU_USERNAME' environment variable. |
password |
The password on the Tableau server. Defaults to the 'TABLEAU_PASSWORD' environment variable. |
base_url |
The base URL of the Tableau server. Defaults to the 'TABLEAU_BASE_URL' environment variable. |
api_version |
The API version to use (default: 3.4). |
A list containing the authentication variables: base_url, token, site_id, and user_id.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Check the names of dashboards in tableau, according to the style guide. The wrong dashboards will be returned together with the reason why it is a wrong name
check_dashboard_names(import_files)
check_dashboard_names(import_files)
import_files |
selected tableau file or folder, to check the names of the dashboards. If it is only one file, make sure it is a twb file. |
the wrongly named dashboards
Other xml:
adjust_tableau_size()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Creates a group on Tableau Server or Tableau Cloud site.
create_group(tableau, group_name, api_version = 3.19)
create_group(tableau, group_name, api_version = 3.19)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
group_name |
The name of the group to create. |
api_version |
The API version to use (default: 3.19). |
The ID of the new group.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Deletes the specified group from the site.
delete_group(tableau, group_id, api_version = 3.19)
delete_group(tableau, group_id, api_version = 3.19)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
group_id |
The ID of the group to delete. |
api_version |
The API version to use (default: 3.19). |
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads a data source in .tdsx format and saves it as a file on your computer.
download_datasource( tableau, api_version = 3.16, datasource_id, file_path, include_extract = TRUE )
download_datasource( tableau, api_version = 3.16, datasource_id, file_path, include_extract = TRUE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.16). |
datasource_id |
The ID of the data source to download. |
file_path |
The path to save the downloaded data source. |
include_extract |
Logical indicating whether to include the extract when downloading the data source (default: TRUE). |
A binary vector containing the data source in .tdsx format.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads PNG images of filtered Tableau views based on the provided dataframe containing filter columns and filter values.
download_filtered_tableau_image( tableau, df, view_id, path_to_save, api_version = 3.8 )
download_filtered_tableau_image( tableau, df, view_id, path_to_save, api_version = 3.8 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
df |
Dataframe containing filter columns and filter values. |
view_id |
The ID of the view to download. |
path_to_save |
The directory to write the images to. |
api_version |
The API version to use (default: 3.8). |
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads the crosstab data from a Tableau view in Excel format.
download_tableau_crosstab_excel( tableau, view_id, path_to_save, api_version = 3.16 )
download_tableau_crosstab_excel( tableau, view_id, path_to_save, api_version = 3.16 )
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). |
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.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads the data from a Tableau view in Excel format.
download_tableau_data( tableau, view_id, path_to_save, api_version = 3.8, filters = NULL, max_age = NULL )
download_tableau_data( tableau, view_id, path_to_save, api_version = 3.8, filters = NULL, max_age = NULL )
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 data Excel file to. |
api_version |
The API version to use (default: 3.8). |
filters |
A named list of filters to apply to the view data. The names should be the field names, and the values should be the filter values. |
max_age |
The maximum number of minutes view data will be cached before being refreshed (optional). |
This function uses the Tableau REST API to download data from a specified view in Excel format. It constructs the appropriate URL, applies any specified filters, and saves the data to the specified path.
For more information on the Tableau REST API, see the official documentation for this method: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#query_view_data
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
## Not run: tableau <- list( base_url = "https://your-tableau-server.com/", token = "your-auth-token", user_id = "your-user-id", site_id = "your-site-id" ) view_id <- "your-view-id" path_to_save <- "path/to/save/" filters <- list("Region" = "North America", "Category" = "Technology") max_age <- 10 download_tableau_data(tableau, view_id, path_to_save, filters = filters, max_age = max_age) ## End(Not run)
## Not run: tableau <- list( base_url = "https://your-tableau-server.com/", token = "your-auth-token", user_id = "your-user-id", site_id = "your-site-id" ) view_id <- "your-view-id" path_to_save <- "path/to/save/" filters <- list("Region" = "North America", "Category" = "Technology") max_age <- 10 download_tableau_data(tableau, view_id, path_to_save, filters = filters, max_age = max_age) ## End(Not run)
Downloads a workbook from the Tableau Server using the provided authentication credentials and saves it to the specified path.
download_workbooks_server( tableau, api_version = 3.4, workbook_id, path_to_save, include_extract = FALSE )
download_workbooks_server( tableau, api_version = 3.4, workbook_id, path_to_save, include_extract = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
workbook_id |
The identifier of the workbook to download. |
path_to_save |
The file path to save the downloaded workbook. |
include_extract |
Logical indicating whether to include the extract file (default: FALSE). |
NULL.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads a PDF version of a workbook from the Tableau Server using the provided authentication credentials and saves it to the specified path.
download_workbooks_server_pdf( tableau, api_version = 3.4, workbook_id, path_to_save )
download_workbooks_server_pdf( tableau, api_version = 3.4, workbook_id, path_to_save )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
workbook_id |
The identifier of the workbook to download. |
path_to_save |
The file path to save the downloaded PDF file. |
NULL.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Downloads a PowerPoint version of a workbook from the Tableau Server using the provided authentication credentials and saves it to the specified path.
download_workbooks_server_powerpoint( tableau, api_version = 3.8, workbook_id, path_to_save )
download_workbooks_server_powerpoint( tableau, api_version = 3.8, workbook_id, path_to_save )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.8). |
workbook_id |
The identifier of the workbook to download. |
path_to_save |
The file path to save the downloaded PowerPoint file. |
NULL.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Escape characters for url
escape_special_chars(url)
escape_special_chars(url)
url |
the url |
escaped string
Get Workbook actions
get_actions(wb)
get_actions(wb)
wb |
The path to the Tableau workbook [.twb]. |
Dataframe containing the workbook actions.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
## Not run: # Get Workbook actions actions <- get_actions(wb = "path/to/workbook.twb") head(actions) ## End(Not run)
## Not run: # Get Workbook actions actions <- get_actions(wb = "path/to/workbook.twb") head(actions) ## End(Not run)
Get folder structure workbook
get_folders(wb)
get_folders(wb)
wb |
The path to the Tableau workbook file [.twb]. |
A dataframe containing the folder names and the variables stored inside.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Gets a list of groups that the specified user is a member of.
get_groups_for_user( tableau, api_version = 3.19, user_id, page_size = 100, page_number = 1, include_metadata = FALSE )
get_groups_for_user( tableau, api_version = 3.19, user_id, page_size = 100, page_number = 1, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.19). |
user_id |
The ID of the user whose group memberships are listed. |
page_size |
(Optional) The number of items to return in one response. The minimum is 1. The maximum is 1000. The default is 100. For more information, see Paginating Results. |
page_number |
(Optional) The offset for paging. The default is 1. For more information, see Paginating Results. |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A table containing the groups for the specified user.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Get Workbook drilldown hierarchies
get_hierarchy(wb)
get_hierarchy(wb)
wb |
The path to the Tableau workbook [.twb]. |
Dataframe containing the workbook hierarchy drill downs.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Retrieves the mobile security settings for the Tableau Server.
get_mobile_security_settings(tableau, api_version = 3.19)
get_mobile_security_settings(tableau, api_version = 3.19)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id'. |
api_version |
The API version to use (default: 3.19). |
A list containing the mobile security settings for the server.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Get all nodenames
get_nodenames(proc)
get_nodenames(proc)
proc |
The rootnode |
nodenames
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Get all parameters in workbook.
get_parameter(wb)
get_parameter(wb)
wb |
The path to the tableau workbook [.twb]. |
Dataframe
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Get the revision number
get_revision(wb)
get_revision(wb)
wb |
The path to the Tableau workbook file [.twb]. |
The revision number
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Retrieves information about connected applications from the Tableau Server using the provided authentication credentials.
get_server_connected_apps(tableau, api_version = 3.14, page_size = 100)
get_server_connected_apps(tableau, api_version = 3.14, page_size = 100)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.14). |
page_size |
The number of records to retrieve per page (default: 100). |
A data frame containing the connected applications information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves information about datasources from the Tableau Server using the provided authentication credentials.
get_server_datasources( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_datasources( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of records to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the datasource information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of groups from the Tableau Server using the provided authentication credentials.
get_server_groups( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_groups( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of records to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the groups information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves information about the Tableau server site using the provided authentication credentials.
get_server_info( tableau, api_version = 3.4, page_size = 100, include_metadata = FALSE )
get_server_info( tableau, api_version = 3.4, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_size |
The number of records to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the server site information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of server jobs from the Tableau server using the provided authentication credentials.
get_server_jobs( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_jobs( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: base_url, token, user_id, and site_id. |
api_version |
The API version to use (default: "3.4"). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of jobs to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the server jobs information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Get the server location.
get_server_location(wb)
get_server_location(wb)
wb |
The path to the Tableau workbook [.twb]. |
The server location of the workbook.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Retrieves a list of projects from the Tableau server using the provided authentication credentials.
get_server_projects( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_projects( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: base_url, token, site_id, and user_id. |
api_version |
The API version to use (default: "3.4"). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of projects to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the projects information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of extract refresh tasks from the Tableau Server using the provided authentication credentials.
get_server_refresh_tasks(tableau, api_version = 3.4, page_size = 100)
get_server_refresh_tasks(tableau, api_version = 3.4, page_size = 100)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_size |
The number of records to retrieve per page (default: 100). |
A data frame containing the extract refresh tasks information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of schedules from the Tableau server using the provided authentication credentials.
get_server_schedules( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_schedules( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url' and 'token'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of records to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the schedules information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of favorite projects, data sources, views, workbooks, and flows for a specific user on Tableau Server.
get_server_user_favorites( tableau, user_id, api_version = 3.4, page_size = 100, page_number = 1 )
get_server_user_favorites( tableau, user_id, api_version = 3.4, page_size = 100, page_number = 1 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
user_id |
The ID of the user for which you want to retrieve the favorites. |
api_version |
The API version to use (default: 3.4). |
page_size |
The number of items to return in one response (default: 100). |
page_number |
The offset for paging (default: 1). |
A data frame containing the favorites for the specified user.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of users from the Tableau server using the provided authentication credentials.
get_server_users( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_users( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of users to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the users information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of views from the Tableau server using the provided authentication credentials.
get_server_views( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_statistics = TRUE, include_metadata = FALSE )
get_server_views( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_statistics = TRUE, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of views to retrieve per page (default: 100). |
include_statistics |
Logical indicating whether to include usage statistics in the result (default: TRUE). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the views information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves a list of workbooks from the Tableau server using the provided authentication credentials.
get_server_workbooks( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
get_server_workbooks( tableau, api_version = 3.4, page_number = 1, page_size = 100, include_metadata = FALSE )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.4). |
page_number |
The page number of the results to retrieve (default: 1). |
page_size |
The number of workbooks to retrieve per page (default: 100). |
include_metadata |
Logical indicating whether to include metadata columns in the result (default: FALSE). |
A data frame containing the workbooks information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Retrieves information about all table assets for a site from the Tableau Server using the provided authentication credentials.
get_table_assets(tableau, api_version = 3.8)
get_table_assets(tableau, api_version = 3.8)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The API version to use (default: 3.8). |
A data frame containing the table assets information.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Search XML for data source of Tableau workbook
get_tableau_data_source(dashboard)
get_tableau_data_source(dashboard)
dashboard |
Path to Tableau twb file. |
Data source of the workbook
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
## Not run: # Get Tableau data source data_source <- get_tableau_data_source(dashboard = "path/to/workbook.twb") print(data_source) ## End(Not run)
## Not run: # Get Tableau data source data_source <- get_tableau_data_source(dashboard = "path/to/workbook.twb") print(data_source) ## End(Not run)
Gets a list of users in the specified group.
get_users_in_group( tableau, api_version = 3.19, group_id, page_size = 100, page_number = 1 )
get_users_in_group( tableau, api_version = 3.19, group_id, page_size = 100, page_number = 1 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The version of the API to use, such as 3.21. |
group_id |
The ID of the group to get the users for. |
page_size |
The number of items to return in one response. The minimum is 1. The maximum is 1000. The default is 100. |
page_number |
The offset for paging. The default is 1. |
A list of users in the specified group.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Get folder names
get_variable_folders(wb)
get_variable_folders(wb)
wb |
The path to the Tableau workbook file [.twb]. |
Dataframe containing the variable folder names
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Get variable names from workbook.
get_variables(wb)
get_variables(wb)
wb |
The path to the Tableau workbook file [.twb]. |
Dataframe
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_workbook_id()
,
get_workbook_tabs()
,
make_rootnodes()
Get workbook ID name.
get_workbook_id(wb)
get_workbook_id(wb)
wb |
The path to the Tableau workbook [.twb]. |
The ID name of the workbook.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_tabs()
,
make_rootnodes()
Get workbook tabs
get_workbook_tabs(wb)
get_workbook_tabs(wb)
wb |
The path to the Tableau workbook file [.twb]. |
Dataframe
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
make_rootnodes()
This function parses an XML document representing a Tableau workbook and finds all nodes that have a url attribute containing 'views'. It then extracts these URLs and returns them in a data frame.
get_workbook_urls(wb)
get_workbook_urls(wb)
wb |
The path to the Tableau workbook file (.twb). |
A data frame containing the URLs found in the workbook.
make_rootnodes
make_rootnodes(wb)
make_rootnodes(wb)
wb |
The path to the tableau workbook file [.twb]. |
The rootnodes.
Other xml:
adjust_tableau_size()
,
check_dashboard_names()
,
get_actions()
,
get_folders()
,
get_hierarchy()
,
get_nodenames()
,
get_parameter()
,
get_revision()
,
get_server_location()
,
get_tableau_data_source()
,
get_variable_folders()
,
get_variables()
,
get_workbook_id()
,
get_workbook_tabs()
Returns information about the specified user.
query_user_on_site(tableau, user_id, api_version = 3.19)
query_user_on_site(tableau, user_id, api_version = 3.19)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
user_id |
The ID of the user to get information for. |
api_version |
The API version to use (default: 3.19). |
Information about the specified user.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Removes a user from the specified group.
remove_user_from_group(tableau, api_version = 3.19, group_id, user_id)
remove_user_from_group(tableau, api_version = 3.19, group_id, user_id)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The version of the API to use, such as 3.19 (default: 3.19). |
group_id |
The ID of the group to remove the user from. |
user_id |
The ID of the user to remove. |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Removes a user from the specified site. The user will be deleted if they do not own any other assets other than subscriptions. If a user still owns content (assets) on Tableau Server, the user cannot be deleted unless the ownership is reassigned first.
remove_user_from_site(tableau, api_version = 3.19, user_id, mapAssetsTo = NULL)
remove_user_from_site(tableau, api_version = 3.19, user_id, mapAssetsTo = NULL)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
api_version |
The version of the API to use, such as 3.19 (default: 3.19). |
user_id |
The ID of the user to remove. |
mapAssetsTo |
Optional. The ID of a user that receives ownership of contents of the user being removed. |
No return value.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Concat row to name
row_to_name(row)
row_to_name(row)
row |
row of dataframe |
namr of the row
Dataframe row to query
row_to_query(row)
row_to_query(row)
row |
row of dataframe |
Query to the api call
Runs the specified extract refresh task on Tableau Server.
run_extract_refresh_task(tableau, task_id, api_version = 3.22)
run_extract_refresh_task(tableau, task_id, api_version = 3.22)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
task_id |
The ID of the extract refresh task to run. |
api_version |
The API version to use (default: 3.22). |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
update_data_source_now()
,
update_group()
,
update_user()
,
update_workbook_now()
Get the Tableau base URL from the environment variable
tableau_base_url()
tableau_base_url()
The Tableau base URL stored in the TABLEAU_BASE_URL environment variable.
Get the Tableau content URL from the environment variable
tableau_content_url()
tableau_content_url()
The Tableau content URL stored in the TABLEAU_CONTENT_URL environment variable.
Get the Tableau password from the environment variable
tableau_password()
tableau_password()
The Tableau password stored in the TABLEAU_PASSWORD environment variable.
Get the Tableau PAT name from the environment variable
tableau_pat_name()
tableau_pat_name()
The Tableau PAT name stored in the TABLEAU_PAT_NAME environment variable.
Get the Tableau PAT secret from the environment variable
tableau_pat_secret()
tableau_pat_secret()
The Tableau PAT secret stored in the TABLEAU_PAT_SECRET environment variable.
Get the Tableau username from the environment variable
tableau_username()
tableau_username()
The Tableau username stored in the TABLEAU_USERNAME environment variable.
Runs an extract refresh on the specified data source.
update_data_source_now(tableau, datasource_id, api_version = 3.22)
update_data_source_now(tableau, datasource_id, api_version = 3.22)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
datasource_id |
The ID of the data source to refresh. |
api_version |
The API version to use (default: 3.22). |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_group()
,
update_user()
,
update_workbook_now()
Updates a group on a Tableau Server or Tableau Cloud site.
update_group( tableau, group_id, group_name = NULL, AD_group_name = NULL, AD_domain = NULL, minimum_site_role = NULL, license_mode = NULL, on_demand_access = NULL, asJob = FALSE, api_version = 3.19 )
update_group( tableau, group_id, group_name = NULL, AD_group_name = NULL, AD_domain = NULL, minimum_site_role = NULL, license_mode = NULL, on_demand_access = NULL, asJob = FALSE, api_version = 3.19 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
group_id |
The ID of the group to update. |
group_name |
The new name for the group (optional). |
AD_group_name |
The name of the Active Directory group to synchronize with (optional). |
AD_domain |
The domain for the Active Directory group (optional). |
minimum_site_role |
Required if an import element or grantLicenseMode attribute are present in the request. The site role assigned to users who are imported from Active Directory or granted a license automatically using the grant license on-sync or on-login mode. |
license_mode |
Optional. The mode for automatically applying licenses for group members. When the mode is onLogin, a license is granted for each group member when they log in to a site. |
on_demand_access |
Optional. A boolean value that is used to enable on-demand access for embedded Tableau content when the Tableau Cloud site is licensed with Embedded Analytics usage-based model. |
asJob |
A Boolean value indicating whether to synchronize with Active Directory as a background task (true) or synchronize immediately (false). Default is false. |
api_version |
The API version to use (default: 3.19). |
TRUE if the operation was successful, FALSE otherwise.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_user()
,
update_workbook_now()
Modifies information about the specified user.
update_user( tableau, user_id, fullName = NULL, email = NULL, password = NULL, siteRole, authSetting = NULL, api_version = 3.19 )
update_user( tableau, user_id, fullName = NULL, email = NULL, password = NULL, siteRole, authSetting = NULL, api_version = 3.19 )
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
user_id |
The ID of the user to update. |
fullName |
The new name for the user (optional). |
email |
The new email address for the user (optional). |
password |
The new password for the user (optional). |
siteRole |
The new site role to assign to the user. |
authSetting |
The authentication type for the user (optional). |
api_version |
The API version to use (default: 3.19). |
TRUE if the operation was successful, FALSE otherwise.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_workbook_now()
Refreshes the specified workbook.
update_workbook_now(tableau, workbook_id, api_version = 3.22)
update_workbook_now(tableau, workbook_id, api_version = 3.22)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', and 'site_id'. |
workbook_id |
The ID of the workbook to refresh. |
api_version |
The API version to use (default: 3.22). |
The response from the API.
Other Tableau REST API:
add_tags_to_view()
,
add_tags_to_workbook()
,
add_user_to_group()
,
add_user_to_site()
,
authenticate_PAT()
,
authenticate_server()
,
create_group()
,
delete_group()
,
download_datasource()
,
download_filtered_tableau_image()
,
download_tableau_crosstab_excel()
,
download_tableau_data()
,
download_workbooks_server()
,
download_workbooks_server_pdf()
,
download_workbooks_server_powerpoint()
,
get_groups_for_user()
,
get_mobile_security_settings()
,
get_server_connected_apps()
,
get_server_datasources()
,
get_server_groups()
,
get_server_info()
,
get_server_jobs()
,
get_server_projects()
,
get_server_refresh_tasks()
,
get_server_schedules()
,
get_server_user_favorites()
,
get_server_users()
,
get_server_views()
,
get_server_workbooks()
,
get_table_assets()
,
get_users_in_group()
,
query_user_on_site()
,
remove_user_from_group()
,
remove_user_from_site()
,
run_extract_refresh_task()
,
update_data_source_now()
,
update_group()
,
update_user()