Reads 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")

Arguments

xlsx.index.location

Character. File path to the dataset-information Excel file in the current working directory. Default: "Datasets infomation.xlsx".

sync

Logical. If TRUE (default), calls xzdb.sync.to.shinyapp() after all indexes are built. Set to FALSE to disable automatic syncing.

Value

Invisibly NULL. Creates/updates local IndexedData/ directory and (optionally) updates the package shinyapp/ folder.

Examples

if (FALSE) { # \dontrun{
# Process all datasets and sync to shinyapp
xzdb.input.all()

# Process only, do NOT sync
xzdb.input.all(sync = FALSE)
} # }