publish_html: Publish HTML to Platform Reports

Description Usage Arguments See Also Examples

View source: R/reports.R

Description

Publish HTML to Platform Reports

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
## Not run: 
# Uploads html and prints link to report in Platform
publish_html("my_beautiful_report.html")

## End(Not run)

civis documentation built on July 2, 2020, 12:44 a.m.