bp_extend: Add custom elements to a blueprint

View source: R/extensions-base.R

bp_extendR Documentation

Add custom elements to a blueprint

Description

blueprint() objects are essentially just list() objects that contain a bunch of metadata on the data asset construction. Use bp_extend() to set or add new elements.

Usage

bp_extend(bp, ...)

Arguments

bp

A blueprint

...

Keyword arguments forwarded to blueprint()

Examples

if (FALSE) {
  bp <- blueprint("some_blueprint", ...)
  adjusted_bp <- bp_extend(bp, new_option = TRUE)
  bp_with_annotation_set <- bp_extend(bp, annotate = TRUE)
}

nyuglobalties/blueprintr documentation built on July 16, 2024, 10:27 a.m.