Description Usage Arguments Examples
This function takes in one single page element property and one dataset at each time for uploading to a single slide
1 2 3 4 5 6 | create_data_table(
id = NULL,
page_element_property = NULL,
data = NULL,
headers = TRUE
)
|
id |
ID of the presentation slide |
page_element_property |
A list that contains a page element property. The page element is to be generated by the page_element_property function in this package. |
data |
Dataframe of the dataset that is to be converted so that it can be used with the google slides API |
headers |
Boolean to indicate whether to convert taking in mind of the headers or not |
1 2 3 4 5 6 7 | ## Not run:
library(googleslides)
authorize()
slide_page <- page_element_property(['slide-id-2'])
create_data_table("presentation-slide-id", slide_page, iris[1:5,])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.