List object versions in the datalake and expose their tags
Source:R/dl_ls_versions.R
dl_ls_versions.RdLists all versions of objects for a given project and entity within the
Gradient datalake (AWS S3). Extracts tags from object keys (e.g.
wave=a/type=raw/.rds) and returns them as tidy columns. Supports multi-tag
filtering and environment selection.
Usage
dl_ls_versions(
entity = NULL,
...,
layer = NULL,
verbose = TRUE,
project = dl_get_project(),
env = "prod"
)Arguments
- entity
Optional character scalar defining the entity (e.g.
"data/srv_main"). IfNULL, lists all entities.- ...
Named tag arguments (
tag = value).waveA character vector specifying the waves to filter on.typeA character vector specifying the types to filter on.nameA character vector specifying the names to filter on.versionA character vector specifying the versions to filter on.batchA character vector specifying the batches to filter on.sourceA character vector specifying the sources to filter on.
- layer
Optional filter for top-level folder (e.g.
"data").- verbose
Logical. If
TRUE, prints informational messages.- project
Character scalar defining the project name. If
NULL, inferred from theDESCRIPTIONfile.- env
Environment of the datalake to use (
"prod"or"test"). Defaults to"prod"."prod"=g6tr-dl,"test"=g6tr-dl-test.