Skip to contents

Reads a full Project R6 object from the standardized datalake structure under the "project" entity. If the stored object was built with an older Project structure (a schema_version older than the current one), it is rebuilt into the current class in memory so current methods and fields apply. The rebuild is not written back — use dl_project_rehydrate() to persist it.

Usage

dl_project(project = dl_get_project(), verbose = FALSE, env = "prod")

dl_project_read(project = dl_get_project(), verbose = FALSE, env = "prod")

Arguments

project

Character scalar defining the project name. Defaults to the value returned by dl_get_project().

verbose

Logical. If TRUE, prints progress messages. Default FALSE.

env

Datalake environment ("prod" or "test"). Default "prod".

Value

The deserialized Project R6 object.

Details

dl_project_read() is a backwards-compatible alias for dl_project().

Examples

if (FALSE) { # \dontrun{
dl_project(project = "sentinel")
} # }