R/XZDB_functions.R
xiaopei.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
xiaopei.sync.to.shinyapp.
xiaopei.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 xiaopei.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
xiaopei.input.all()
# Process only, do NOT sync
xiaopei.input.all(sync = FALSE)
} # }