Learn R Programming

maestro (version 1.3.0)

get_labels: Get the labels of pipelines in a MaestroSchedule object

Description

Creates a data.frame of labels for all labelled pipelines in the schedule.

Usage

get_labels(schedule)

Value

data.frame

Arguments

schedule

object of type MaestroSchedule created using build_schedule()

Examples

Run this code
if (interactive()) {
  pipeline_dir <- tempdir()
  create_pipeline("my_new_pipeline", pipeline_dir, open = FALSE)
  schedule <- build_schedule(pipeline_dir = pipeline_dir)

  get_labels(schedule)

  # Alternatively, use the underlying R6 method
  schedule$get_labels()
}

Run the code above in your browser using DataLab