get_start_date <- function(expID){
data(Planting)
result <- Planting [Planting$ExpID == expID,]
date <-result$PlantingDate[1]
if(date =="") { date <- result$PlantingDate[2]}
return(date)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.