update_abbr_lup: Update abbreviation

Description Usage Arguments Value

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. Function argument abbr_tb specifies the object to be updated. Argument short_name_chr provides the object to be updated. The function returns Abbreviation (a tibble).

Usage

1
2
3
4
5
6
7
8
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)


readyforwhatsnext/ready4fun documentation built on Nov. 22, 2020, 9:28 p.m.