The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Parse Tableau TWB/TWBX files in R: extract datasources, joins, relationships, fields, and calculated fields, plus inspect and unpack TWBX assets. Built for large workbooks and Shiny integration.
.twb
# Install from GitHub (using pak)
install.packages("pak")
::pak("PrigasG/twbparser")
pak
# Or using devtools
install.packages("devtools")
::install_github("PrigasG/twbparser") devtools
Parse a “.twb” file
library(twbparser)
# Parse workbook
<- TWBParser$new("path/to/workbook.twb")
parser
# Extract calculated fields
<- parser$get_calculated_fields()
calc_fields
# View dependencies
<- parser$get_field_dependencies()
deps
# Generate DAG
<- parser$generate_dag() dag
Parse a “.twbx” file
<- TWBParser$new("path/to/workbook.twbx")
parser
# Inspect manifest
$twbx_manifest
parser
# Extract data sources
<- parser$get_datasource_details() sources
And graph objects (via igraph or ggraph) for visualization:
-e "twbparser::parse_twb('my_dashboard.twb', output_dir = 'results/')" Rscript
This package is licensed under the MIT License — see the LICENSE file for details.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.