View source: R/Data_Functions.R
Report | R Documentation |
A HTML Data Report is generated and opened in a web browser
Report(
Data = NULL,
md = NULL,
name = "Data-Report",
title = "Data Documentation",
author = "Author Name",
date = Sys.Date(),
output_format = c("html_document", "pdf_document"),
open = TRUE,
quiet = TRUE,
dir = NULL,
overwrite = FALSE
)
Data |
Either an object of class |
md |
Full file path to a valid text file documenting the Data |
name |
Optional. Name of the output file |
title |
Title for the Report. Title in the markdown file will override this value |
author |
Author of the Report. Author in the markdown file will override this value |
date |
Date of the Report. Date in the markdown file will override this value |
output_format |
Output file format: |
open |
Logical. Open the compiled report? |
quiet |
Logical.An option to suppress printing of the pandoc command line. |
dir |
Optional. Directory to save the file. Defaults to |
overwrite |
Logical. Overwrite an existing file with the same name? |
Nothing. A Data Report is generated and saved in dir
A. Hordyk
## Not run:
DataInit('Example') # generate example Data Input and Documentation files
Report('Example', 'Example.md')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.