fda_define: Generate content for FDA define document

View source: R/fda_define.R

fda_defineR Documentation

Generate content for FDA define document

Description

Generate content for FDA define document

Usage

fda_define(file, title = "Datasets", ext = ".xpt", loc = ".", ...)

Arguments

file

full path to define yaml file

title

used in yaml front matter

ext

data set file extension to include; this should only be changed from default value of ".xpt" for testing purposes

loc

location to use for data set files; this should only be changed from default value of "." for testing purposes

...

arguments passed to rendering functions; see details

Value

A character vector of in markdown format. Wrap fda_define() in writeLines() and render asis in an Rmarkdown document.

See Also

fda_table()

Examples

proj <- file_proj_ex()

cat(readLines(proj), sep = "\n")

## Not run: 
  fda_define(proj)

## End(Not run)

metrumresearchgroup/yspec documentation built on Dec. 22, 2024, 1:37 a.m.