update_abbr_lup: Update abbreviation lookup table

update_abbr_lupR Documentation

Update abbreviation lookup table

Description

update_abbr_lup() is an Update function that edits an object, while preserving core object attributes. Specifically, this function implements an algorithm to update abbreviation lookup table. The function returns Abbreviation (a tibble).

Usage

update_abbr_lup(
  abbr_tb,
  short_name_chr,
  long_name_chr,
  no_plural_chr = NA_character_,
  custom_plural_ls = NULL,
  pfx_rgx = NA_character_
)

Arguments

abbr_tb

Abbreviation (a tibble)

short_name_chr

Short name (a character vector)

long_name_chr

Long name (a character vector)

no_plural_chr

No plural (a character vector), Default: 'NA'

custom_plural_ls

Custom plural (a list), Default: NULL

pfx_rgx

Prefix (a regular expression vector), Default: 'NA'

Value

Abbreviation (a tibble)


ready4-dev/ready4fun documentation built on April 22, 2024, 8:33 a.m.