Skip to content

Commit

Permalink
📝 Remove examples include Japanese (2-byte char)
Browse files Browse the repository at this point in the history
  • Loading branch information
NONONOexe committed Dec 23, 2024
1 parent 427c77d commit 3b0b0c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/lookup-column-names.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Lookup new column names for an accident dataset
#'
#' This function retreieves the new column names corresponding to
#' This function retrieves the new column names corresponding to
#' the original column names in a specified dataset. The column
#' names are based on the configuration loaded by `load_config()`.
#' This is useful when the original names are in Japanese (2-byte
Expand All @@ -12,8 +12,6 @@
#' @return A vector of new column names corresponding to the provided
#' original names.
#' @export
#' @examples
#' lookup_column_names("main_data", c("死者数", "天候"))
lookup_column_names <- function(dataset_name, original_names) {
# Retrieve column configuration for the specified dataset
column_config <- get_config()[[dataset_name]]$columns
Expand Down

0 comments on commit 3b0b0c5

Please sign in to comment.