getAddress <- function(functionName){
getCode <- paste0('try(CRMaddress::',functionName,'())')
eval(parse(text=as.expression(getCode)))
}
getNeedAddress <- function(x){
x <- as.data.frame(x)
x[,c("brand_nm", 'store_nm', "addr")]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.