Skip to content

Instantly share code, notes, and snippets.

Avatar

Bruna Garcia bruna-garcia

View GitHub Profile
@bruna-garcia
bruna-garcia / googlesheets_to_powerbi.r
Created Aug 12, 2020
Connect your Google Sheets to Power BI with R Script
View googlesheets_to_powerbi.r
#Installing R packages
install.packages("googlesheets4")
install.packages("httpuv")
#Authenticating your Google Drive
library(googlesheets4)
gs4_auth(
email = gargle::gargle_oauth_email(),
path = NULL,
scopes = "https://www.googleapis.com/auth/spreadsheets",