add_source_note: Add a source note attribute to a table

View source: R/generate_modifiers.R

add_source_noteR Documentation

Add a source note attribute to a table

Description

Add a source note attribute to a table

Usage

add_source_note(data, source_note)

Arguments

data

A data frame, tibble, or tsg object to which a source note attribute will be added.

source_note

The source note text to be added.

Value

The input data frame with an added source note attribute.

Examples

add_source_note(
  dplyr::starwars,
  source_note = "Source: Star Wars API (SWAPI)."
)

tsg documentation built on Feb. 22, 2026, 5:08 p.m.