R/XZDB_functions.R
xzdb.input.all.RdReads the dataset-information Excel file (e.g., "Datasets infomation.xlsx"),
loops over all listed dataset names and sheet specifications, and calls
xiaopei.input for each entry.
After successfully building all local index files, the function optionally
synchronizes the entire datasets/, IndexedData/, and Excel index file
into the installed package's shinyapp/ directory using
xzdb.sync.to.shinyapp.
xzdb.input.all(xlsx.index.location = "Datasets infomation.xlsx")Character. File path to the dataset-information Excel file in the current
working directory. Default: "Datasets infomation.xlsx".
Logical. If TRUE (default), calls xzdb.sync.to.shinyapp() after all
indexes are built. Set to FALSE to disable automatic syncing.
Invisibly NULL. Creates/updates local IndexedData/ directory and
(optionally) updates the package shinyapp/ folder.
if (FALSE) { # \dontrun{
# Process all datasets and sync to shinyapp
xzdb.input.all()
# Process only, do NOT sync
xzdb.input.all(sync = FALSE)
} # }