data-raw/language.R

################################################################################
#
# Load internationalisation data from the file 'ramOP.language.csv' which should
# be present in the current working directory (i.e. the same diectory as this
# workflow file).
#
################################################################################
#
## Read language file
language <- read.table(file = "data-raw/ramOP.language.csv",
                       header = TRUE,
                       sep = ",",
                       quote = "",
                       stringsAsFactors = FALSE)

## Convert to tibble
language <- tibble::tibble(language)

## Save language file as internal package data
usethis::use_data(language, internal = TRUE, overwrite = TRUE, compress = "xz")
validmeasures/ramOP documentation built on April 18, 2024, 1:04 a.m.