R/lexicon.R

Defines functions lexicon

Documented in lexicon

#' For fetching a giftwrap lexicon
#' @param lexicon The name of a giftwrap lexicon
#' @return a dataframe of lexicon
#' @export
lexicon <- function(lexicon){
  check_lexicon_name(lexicon)
  get(paste0("lexicon_", lexicon))
}
chriscardillo/giftwrap documentation built on Dec. 13, 2020, 10 p.m.