# Jake Yeung
# HashFunctions.R
#
# 2018-01-15
Vectorize(AddFromHash <- function(x, hsh, none = NA){
if(x == "") return(none)
if(!is.null(hsh[[as.character(x)]])){
return(hsh[[as.character(x)]])
} else {
return(none)
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.