Publish HTML to Platform Reports

publish_html(html_file, report_id = NULL, report_name = NULL,
  provide_api_key = NULL, project_id = NULL)

Arguments

html_file

string, HTML file

report_id

integer, ID of an existing report, if provided, the contents of the report will be replaced. If report_id is NULL, a new report will be created.

report_name

string, Title of report in platform

provide_api_key

bool, Set to true to include API key in report.

project_id

integer, Project_id that the report should be added to.

See also

publish_rmd to publish an R Markdown document to Civis

Examples

# NOT RUN {
# Uploads html and prints link to report in Platform
publish_html("my_beautiful_report.html")
# }