| get_transformation_file | R Documentation | 
From the planned update, it obtains the function with the source code of the transformations performed on the original data in file format.
get_transformation_file(sdbu, file)
## S3 method for class 'star_database_update'
get_transformation_file(sdbu, file = NULL)
| sdbu | A  | 
| file | A string, file name. | 
A string, file name.
star_database
Other star database refresh functions: 
get_existing_fact_instances(),
get_lookup_tables(),
get_new_dimension_instances(),
get_star_database(),
get_star_schema(),
get_transformation_code(),
incremental_refresh(),
update_according_to()
f1 <- flat_table('ft_num', ft_cause_rpd) |>
  as_star_database(mrs_cause_schema_rpd) |>
  replace_attribute_values(
    name = "When Available",
    old = c('1962', '11', '1962-03-14'),
    new = c('1962', '3', '1962-01-15')
  ) |>
  group_dimension_instances(name = "When")
f2 <- flat_table('ft_num2', ft_cause_rpd) |>
  update_according_to(f1)
file <- f2 |>
  get_transformation_file()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.