normalize_name: Normalize game/book name(s)

View source: R/normalize_name.R

normalize_nameR Documentation

Normalize game/book name(s)

Description

normalize_name() normalizes game/book name(s).

Usage

normalize_name(x, sep = "_")

Arguments

x

Game or book name to normalize.

sep

Separator character.

Details

⁠normalize_name(x, sep = "_") is used to help create R variable names while ⁠normalize_name(x, sep = "-")' is used to help create filenames and LaTeX labels.

Value

Character vector of normalized game names.

Examples

  normalize_name("Fuji-san")
  normalize_name("Nine Men's Morris", sep = "-")

piecepackr/ppgames documentation built on Jan. 17, 2025, 2:24 p.m.