Skip to contents

List data package revisions

Usage

list_data_package_revisions(
  scope,
  identifier,
  filter = NULL,
  env = "production"
)

Arguments

scope

(character) Scope of data package

identifier

(numeric) Identifier of data package

filter

(character) Filter results by "newest" or "oldest"

env

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

Value

(numeric) Revisions of a data package within a specified scope and identifier

Examples

if (FALSE) { # \dontrun{

# List revisions
revisions <- list_data_package_revisions("knb-lter-arc", 20131)
revisions
#> [1] 1 2
} # }