Skip to content

Instantly share code, notes, and snippets.

View bruna-garcia's full-sized avatar

Bruna Garcia bruna-garcia

View GitHub Profile
@bruna-garcia
bruna-garcia / googlesheets_to_powerbi.r
Created August 12, 2020 22:23
Connect your Google Sheets to Power BI with R Script
#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",