R/umls_pass.R

Defines functions umls_pass

Documented in umls_pass

#' @title Obtain access to UMLS API
#' @description Function to register your apikey.
#'
#' @export
umls_pass <- function() {
  apikey <- getPass::getPass("Paste or enter your apiKey")
  .checkApikey(apikey)
  getumls_env$KEY <- apikey
  message("Access granted.")
}
yvoawk/getUMLS documentation built on Aug. 2, 2022, 5:08 p.m.