if (FALSE) {
# These examples require an existing eyeris database
# Chunk by data type (each data type gets its own database file)
chunk_info <- eyeris_db_split_for_sharing(
bids_dir = "/path/to/bids",
db_path = "large-project",
chunk_strategy = "by_data_type"
)
# Chunk into 6 files by count
chunk_info <- eyeris_db_split_for_sharing(
bids_dir = "/path/to/bids",
db_path = "large-project",
chunk_strategy = "by_count",
n_chunks = 6
)
# Chunk by size (max 50MB per file)
chunk_info <- eyeris_db_split_for_sharing(
bids_dir = "/path/to/bids",
db_path = "large-project",
chunk_strategy = "by_size",
max_chunk_size_mb = 50
)
}
Run the code above in your browser using DataLab