Send and read SEO data to Google Sheet x
⚠️ THIS IS A WORK IN PROGRESS
1
install.packages("googlesheets4")
2
library(googlesheets4)
3
4
5
6
gs4_auth()
7
(demo <- gs4_create("demo", sheets = list(flowers = head(iris))))
8
9
10
class(demo)
11
12
read_sheet(demo)
13
14
gs4_get(demo)
15
16
Copied!
This package is also interesting to reach public google sheets.
1
2
gs4_deauth()
3
4
salary <- read_sheet("https://docs.google.com/spreadsheets/d/1rGCKXIKt-7l5gX06NAwO3pjqEHh-oPXtB8ihkp0vGWo/view", skip = 1)
5
6
Copied!
Last modified 9mo ago
Copy link