wu_render_estimate: Render estimate

View source: R/rmarkdown.R

wu_render_estimateR Documentation

Render estimate

Description

Render estimate

Usage

wu_render_estimate(
  ref,
  date,
  description,
  to_name,
  to_title,
  to_campus_box,
  to_email,
  from_name,
  from_title,
  from_campus_box,
  from_email,
  data,
  input = "Estimate.Rmd",
  keep_input = FALSE,
  ...
)

Arguments

ref, date, description

estimate reference, date, and description

to_name, to_title, to_campus_box, to_email

recipient attributes

from_name, from_title, from_campus_box, from_email

sender attributes

data

path to estimate data object containing service, hours, and rate columns

input

The input file to be rendered. This can be an R script (.R), an R Markdown document (.Rmd), or a plain markdown document.

keep_input

keep the input document

...

parameters passed to render

Examples

## Not run: 
## some yaml may require quotes
wu_render_estimate(
  paste0(Sys.Date(), "-1"),
  Sys.Date(),
  "The Woozle Effect",
  "Christopher Robin",
  "Billy Moon",
  "1920",
  "robin@wustl.edu",
  "Matthew Schuelke, PhD",
  "Research Statistician",
  "8067",
  "schuelke@wustl.edu",
  "dat/est.csv"
)

## End(Not run)

the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.