Description Usage Arguments Examples
Saves a translated version of the data set in 'rda' format. It wraps the translate_data() function, and saves the output.
This function is meant for packages that will ship with a copy of the translated data set.
1 | save_translation(spec_path, data_folder = "data")
|
spec_path |
The file location of the YAML spec translation file. It is a required argument, cannot be left NULL. |
data_folder |
The target folder location where the 'rda' file will be save to. |
1 2 3 | library(datalang)
my_spec <- system.file("specs/thisweek.yml", package = "datalang")
save_translation(my_spec, tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.