Skip to contents

Reserves the next available identifier for the specified scope

Usage

create_reservation(scope, env = "production")

Arguments

scope

(character) Scope of data package

env

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

Value

(numeric) Identifier of reserved data package

Note

User authentication is required (see login())

See also

Examples

if (FALSE) { # \dontrun{

login()

# Create reservation
identifier <- create_reservation(scope = "edi", env = "staging")
identifier
#> [1] 604

# Delete reservation
delete_reservation(scope = "edi", identifier = identifier, env = "staging")
#> [1] 604

logout()
} # }