add_description {radiant.data}R Documentation

Convenience function to add a markdown description to a data.frame

Description

Convenience function to add a markdown description to a data.frame

Usage

add_description(df, md = "", path = "")

Arguments

df

A data.frame or tibble

md

Data description in markdown format

path

Path to a text file with the data description in markdown format

See Also

See also register

Examples

if (interactive()) {
  mt <- mtcars |> add_description(md = "# MTCARS\n\nThis data.frame contains information on ...")
  describe(mt)
}


[Package radiant.data version 1.6.6 Index]