parse_locale | R Documentation |
Takes the language and country chosen in the editor()
and creates a locale with a 3 digit language code and (if applicable), 2 digit country code. Only meant to run in the compile_lesson()
function.
parse_locale(current_data)
current_data |
the reconciled data including yaml and input from the shiny app environment; at a minimum you can pass list(Country="Whatever Country") |
current data with locale added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.