Download a TSP dataset from Zenodo to local cache.
Usage
install_dataset(
record_id,
sandbox = FALSE,
resources = "all",
overwrite = FALSE
)
Arguments
- record_id
Zenodo record ID (numeric or character)
- sandbox
If TRUE, use Zenodo sandbox instead of production
- resources
Which resources to download. Default "all".
Can be a subset like c("metadata", "structures", "predictions").
- overwrite
If TRUE, overwrite existing installation. Default FALSE.
Value
Invisibly, the path to the installed dataset
Examples
if (FALSE) { # \dontrun{
# Install from sandbox (testing)
install_dataset(415123, sandbox = TRUE)
# Install from production
install_dataset(12345678)
# Install only metadata (no structure files)
install_dataset(12345678, resources = "metadata")
} # }