Description Usage Arguments Value See Also Examples
View source: R/insight_request.R
Create insight object for insights that replace existing insights
1 2 3 4 5 6 7 8 9 |
title |
Insight title |
description |
Optional insight description |
image_url |
URL of image representing the insight |
embed_url |
URL of content to embed |
markdown_body |
Markdown text containing the insight |
source_link |
Permalink to source code or platform this insight was generated with |
data_source_links |
List containing one or more permalinks to the data sources used to generate this insight |
Request object of type insight_create_request
.
1 2 3 4 | request <- dwapi::insight_replace_request(title='A title',
description = 'A description',
image_url = 'https://site.org/image.png',
source_link = 'https://site.org/data')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.