create_data_table: Create and upload data into a table in slides

Description Usage Arguments Examples

View source: R/native.R

Description

This function takes in one single page element property and one dataset at each time for uploading to a single slide

Usage

1
2
3
4
5
6

Arguments

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

Examples

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)

sparklineanalytics/rgoogleslides documentation built on Nov. 9, 2021, 3:42 a.m.