Skip to contents

Extract and return path(s) to structure file(s) from a dataset. Files are extracted to a cache directory and reused on subsequent calls.

Usage

get_structure(id, record_id)

Arguments

id

Structure ID(s) to retrieve (the id column from metadata)

record_id

Zenodo record ID of an installed dataset

Value

Named character vector of paths to extracted structure files

Examples

if (FALSE) { # \dontrun{
# Get a single structure
path <- get_structure("P00571_AF3_1", 415123)

# Get multiple structures
paths <- get_structure(c("P00571_AF3_1", "P00571_AF3_2"), 415123)
} # }