Description Usage Arguments Examples
Cycles through all of the spec files inside a folder specified in the 'spec_folder' argument. The function translates and saves them to a specified folder. It also creates and saves the help files.
Saves a translated versions of the data set in 'rda' format.
This function is meant for packages that will ship with a copy of the translated data set.
1 2  | translate_folder(spec_folder = "inst/specs", data_folder = "data",
  rd_folder = "man")
 | 
spec_folder | 
 The path to the folder where the YAML spec files are located. Defaults to 'inst/specs'.  | 
data_folder | 
 The target folder location where the 'rda' file will be saved to.  | 
rd_folder | 
 The target folder location where the help files will be saved to.  | 
1 2 3  | library(datalang)
my_spec_folder <- system.file("specs", package = "datalang")
folder_data(my_spec_folder, tempdir())
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.