getIdsToNamesHashmap <- function(names.dmp) {
scientificaNames.names.dmp <- names.dmp %>%
dplyr::filter(nameClass == "scientific name")
idToNamesHashmap <- scientificaNames.names.dmp %$%
hashmap::hashmap(id, name)
return(idToNamesHashmap)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.