R/get_definitions.R

Defines functions get_definitions

Documented in get_definitions

#' Finds the definition(s) for a given acronym
#'
#' @param acronym the computer acronym
#'
#' @return a data frame with the definitions
#' @export
#'
#' @examples
#' defs <- get_definitions("AAP")
#' defs
#' defs$definition
#' # [1] "Address Allocation Protocol (Multicast)"
#' # [2] "Applications Access Point"
#' # [3] "Association of American Publishers (Org., USA)"
get_definitions <- function(acronym) {
  vera::vera[vera::vera$acronym == toupper(acronym), ]
}
jmcastagnetto/vera documentation built on Feb. 22, 2020, 1:27 a.m.