Explain how to bring my Googlesheets to R studio like I am 5 years old

install.packages('googlesheets4') 
library(googlesheets4)
gs4_auth(
email = gargle::gargle_oauth_email(),
path = NULL,
scopes = "https://www.googleapis.com/auth/spreadsheets",
cache = gargle::gargle_oauth_cache(),
use_oob = TRUE,
token = NULL
)
gs4_auth(
email = gargle::gargle_oauth_email(),
path = NULL,
scopes = "https://www.googleapis.com/auth/spreadsheets",
cache = gargle::gargle_oauth_cache(),
use_oob = gargle::gargle_oob_default(),
token = NULL
)

Is it OK to cache OAuth access credentials in the folder
~/.cache/gargle between R sessions?

1: Yes
2: No

Selection:1
data1 <- read_sheet('url address of your google sheets')
head(data1)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store