open_template: R Markdown Templates

View source: R/report.R

open_templateR Documentation

R Markdown Templates

Description

open_template creates an R Markdown template for various types of intermediate as well as final project outputs such as dummy tables, analysis reports, etc. clone_template creates a clone of the main reporting template.

Usage

open_template(
  type = c("dummy", "report", "codebook", "capacity"),
  tmplname,
  ...
)

clone_template()

Arguments

type

A character vector of length 1L, representing the type of template to be loaded. One of dummy, report, codebook, or capacity.

tmplname

A string naming the actual template.

...

Other arguments passed on to draft, apart from file, template, and package, which are set internally.

Value

These functions will create base R Markdown documents that the the user can now modify fo reporting. Every effort is being made to increasingly automating the actual process of building the reports.


BroVic/raampGBV documentation built on Oct. 7, 2022, 11:06 p.m.