R/convertFundingType.R

Defines functions convertFundingType

Documented in convertFundingType

#' Helper function to convert funding types 
#'
#'@return converted funding types
#'
#' @author Layla Rohkohl, \email{byehity@gmail.com}
#'
#' @examples
#' convertFundingType()
#'
#' @import stringr
#'
# Helper function to get funding type dictionary
convertFundingType <- function(funding_type) {
  return(str_replace_all(funding_type, getFundingTypes()))
}
Lyrohk/cruncher documentation built on Dec. 17, 2021, 1:17 a.m.