Skip to contents

Create a markdown listing from a character dataset

Usage

list_freetext_markdown(dat)

Arguments

dat

a character data.frame or tibble.

Value

string containing markdown code listing all nonempty free text in the dataset

Examples

dat  <- data.frame(Freetext = c("Some text", "More text"))
list_freetext_markdown(dat)
#> [1] "**Freetext**\n\n * Some text\n * More text\n\n"
# use inside a .Rmd document like this:
# `r list_freetext_markdown(dat)`