View source: R/database_output.R
compile_report | R Documentation |
Produces a readable summary of event reports from the election violence database.
compile_report( event_report_id, data_location = "database", output_format = "html_document", output_file = NULL, date_report_format = "%A, %d %B %Y", report_title = "Event Reports from Election Violence Database" )
event_report_id |
the event report id or ids to produce the report for. |
data_location |
where data is retrived from (currently only database supported). |
output_format |
produces reports as html_document (default), word_document, or pdf_document. |
output_file |
the file name to save the report to (optional - if not supplied a temp file will be created). |
date_report_format |
desired date format for output. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.