-
Notifications
You must be signed in to change notification settings - Fork 34
/
embed.Rmd
19 lines (12 loc) · 1002 Bytes
/
embed.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: "Embed a Webpage with an iframe"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
Here is an example of embedding a web page. In this case it is a Tableau workbook. You may want to adjust the width and height. This will work but will not be visible until you view it in a browser (and may take some time to load).
When embedding Tableau you may want to play with the size of the workbook itself. Review knitr options. For ebooks with bookdown see [here](https://bookdown.org/yihui/bookdown/web-pages-and-shiny-apps.html).
Insert this code and change the URL and other settings to suit your needs.
`<iframe align = "center" width = "1000" height = "1000" src="https://public.tableau.com/profile/poldham#!/vizhome/MySecretPlanforWorldDomination/Historia1?publish=yes"/>`
<iframe align = "center" width = "1000" height = "1000" src="https://public.tableau.com/profile/poldham#!/vizhome/MySecretPlanforWorldDomination/Historia1?publish=yes"/>