search_reverse_map <- function(s, map, ...) {
options <- names(map)
names(options) <- map
matches <- grepl(pattern=s, x=map, ...)
return(options[matches])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.