Reads a project from the datalake and, if it was built with an older
Project structure, rebuilds it into the current class and writes it back.
If the stored project is already at the current schema_version, nothing is
written and a message confirms it is up to date.
Usage
dl_project_rehydrate(project = dl_get_project(), env = "prod")Arguments
- project
Character scalar defining the project name. Defaults to
dl_get_project().- env
Datalake environment (
"prod"or"test"). Default"prod".
Details
Rebuilding carries over all data fields — including custom fields added via
dl_project_update_fields() — and drops legacy documents content, keeping
only pointer-style entries (list(name, url, drive_id)).