Writes a folder of migration artifacts such as inventory CSVs, lineage, compatibility results, formula translation candidates, and a Markdown brief.
Usage
export_migration_bundle(
x,
target = c("powerbi", "shiny", "quarto", "looker", "superset"),
path = "twbparser-migration-bundle",
include_scaffold = TRUE
)Examples
twb <- system.file("extdata", "test_for_wenjie.twb", package = "twbparser")
if (nzchar(twb) && file.exists(twb)) {
parser <- TwbParser$new(twb)
out <- file.path(tempdir(), "twbparser-bundle")
export_migration_bundle(parser, target = "shiny", path = out)
}
#> TWB loaded: test_for_wenjie.twb
#> TWB parsed and ready
