parse_locale: parse_locale

View source: R/parse_locale.R

parse_localeR Documentation

parse_locale

Description

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.

Usage

parse_locale(current_data)

Arguments

current_data

the reconciled data including yaml and input from the shiny app environment; at a minimum you can pass list(Country="Whatever Country")

Value

current data with locale added


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.