Skip to contents

List all data packages (including their revision values) uploaded to the repository by a particular user, specified by a distinguished name. Data packages that were uploaded by the specified user but have since been deleted are excluded from the list.

Usage

list_user_data_packages(edi_id, env = "production")

Arguments

edi_id

(character) The EDI ID of the user. An EDI ID can be obtained from the EDI Identity and Access Manager (https://auth.edirepository.org/auth/ui/signin).

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(character) Data package identifiers belonging to a edi_id

Examples

if (FALSE) { # \dontrun{

# List user data packages
edi_id <- "EDI-543afa80c859825d35d37d9111c24a4a65a0ff9e"
packageIds <- list_user_data_packages(edi_id)
packageIds
#> [1] "edi.948.1" "edi.949.1"
} # }