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))
}

Try the giftwrap package in your browser

Any scripts or data that you put into this service are public.

giftwrap documentation built on Dec. 15, 2020, 5:39 p.m.