Description Usage Arguments Examples
It uses a YAML file as the spec to translate a data set.
1 | translate_data(spec_path, .data = NULL)
|
spec_path |
The file location of the YAML spec translation file. It is a required argument, cannot be left empty. |
.data |
A tibble or data.frame object that overrides the one specified in the spec file. Defaults to NULL. |
1 2 3 | library(datalang)
my_spec <- system.file("specs/thisweek.yml", package = "datalang")
translate_data(my_spec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.