#' Returns the primary hub file with project location and id information
#' @return orchard
#' @export
#'
get_orchard <- function(){
#
orchard.site <- file.path(path.expand.2("~"),"ProjectPaths","projectid_2_directory.csv")
if(!file.exists(orchard.site)){
plant.orchard()
return(NULL)
}
orchard <- read.csv(orchard.site,as.is=TRUE)
orchard <- orchard[order(orchard$project.id),]
return(orchard)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.