#' Convert a list of files to match the CoVax schema
#'
#' \code{convertMany} iterates over a list of files and calls
#' \code{\link{convertOne}} on each file. See \code{\link{getFiles}} for
#' information on how the file list is created.
#'
#' @param path Character scalar. Names the directory containing
#' the Excel files to convert.
#' @param regexp Character scalar. Pattern \code{getFiles} should use
#' to find files within \code{path}.
#' @param logFile Character scalar. Names the path \code{convertMany} should
#' write log information.
#' @return Void
#' @export
convertMany <- function(path, regexp, logFile = "verto2covax.log") {
initialize(logFile)
fileList <- getFiles(path, regexp)
purrr::walk(fileList, function(xlFile) {
convertOne(xlFile)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.