DRDataRaft/ docs
GitHub ↗

H39 Explore the local catalog

H39DuckLake, releases and reports1 step

Use your current course session. Preparation and course runner · R script ↓

H39 Explore the local catalog

Goal: Browse existing metadata.

Prerequisites: H26; adapters, shiny, bslib; gui=TRUE to launch.

First construct the app without launching it. Interactive use occupies the R console until the app stops.

training_step(
  "H39",
  {
    catalog_app <- dataraft.adapters::dr_catalog_app(
      training_lake,
      launch = FALSE
    )
    print(class(catalog_app))
    if (training_options$gui && interactive()) shiny::runApp(catalog_app)
  },
  needs = c("H26"),
  packages = c("dataraft.adapters", "shiny", "bslib"),
  enabled = training_options$lake,
  optional = TRUE
)

Expected result: An app object; a catalog window when GUI is enabled.

Task: Open a product and compare its metadata with H37.

Show solution

The views describe registered products and runs. Stop the app before continuing the script.

Search documentation

Search functions, packages and guides.