#' compileAsList
#'
#' Compiles all entries (xlsx files) and creates a version of the database as a list
#'
#' @param dataset_directory directory where compeleted and QC passed soilcarbon datasets are stored
#' @export
compileAsList = function(dataset_directory){
entryNames=list.files(dataset_directory, full.names=FALSE, recursive=FALSE)
shortNames=(strsplit(entryNames,split=".xlsx"))
paths=paste(dataset_directory,entryNames, sep="")
out=lapply(paths,read.soilcarbon)
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.