Site icon R-bloggers

Connect to Google Sheets in Power BI using R

[This article was first published on R on Locke Data Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Hello again everyone! This latest blog post comes from this youtube video that we published a little while ago. Here’s the step by step instructions for using the ‘googlesheets’ package in R to enable you to get your data from Google Sheets Step 1 – Preparation Create an authentication token for re-use Run the following: library(googlesheets) token <- gs_auth(cache = FALSE) gd_token() saveRDS(token, file="googlesheets_token.rds") This springs open a window in your browser, and asks you to choose your prefered google account.

To leave a comment for the author, please follow the link and comment on their blog: R on Locke Data Blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.