Nothing
sort_periodDF = function(periodDF, by="start"){
order_var = NULL
if(by == "start"){
order_var = attr(periodDF, "start_var")
}else if (by == "end"){
order_var = attr(periodDF, "end_var")
}else{
stop("by argument needs 'start' or 'end'")
}
result = periodDF[order(periodDF[[order_var]], decreasing = FALSE),]
return(result)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.