get_result <- function(year){
result <- example_results
result <- result$percentage_drop[result$year == year]
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.