#' @rdname getATCViaNHINo
#' @export
getATCViaNHINo <- function(df, NHINoColName = NHINo){
colnames(df)[colnames(df)==deparse(substitute(NHINoColName))] <- "NHINo"
ATCData <- df %>%
left_join(resATC,by = c("NHINo" = "nhino"))
colnames(ATCData)[colnames(ATCData)== "NHINo"] <- deparse(substitute(NHINoColName))
return(ATCData)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.