Learn R Programming

tsg (version 0.1.0)

add_source_note: Add a source note attribute to a table

Description

Add a source note attribute to a table

Usage

add_source_note(data, source_note)

Value

The input data frame with an added source note attribute.

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.

Examples

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

Run the code above in your browser using DataLab