new_provenance: New Provenance

View source: R/class_Provenance.R

new_provenanceR Documentation

New Provenance

Description

Create a new Provenance object.

Usage

new_provenance(name, icon, color, description)

Arguments

name

character name of provenance source.

icon

character name of icon to depict the soruce.

color

character value containing the color for the icon.

description

character value containing a description of the provenance.

Value

A Provenance object.

Examples

# create a provenance
x <- new_provenance(
  name = "Global", icon = "globe", color = "#123456",
  description = "Data is global."
)

# print object
print(x)

NCC-CNC/wheretowork documentation built on Feb. 27, 2025, 6:11 p.m.