Is there a good R API for accessing Google Docs?

后端 未结 6 784
猫巷女王i
猫巷女王i 2021-01-31 18:11

I\'m using R for data analysis, and I\'m sharing some data with collaborators via Google docs. Is there a simple interface that I can use to access a R data.frame object to and

6条回答
  •  故里飘歌
    2021-01-31 18:27

    As of 2015, there is now the googlesheets package. It is the best option out there for analyzing and editing Google Sheets data in R. Not only can it pull data from Google Sheets, but you can edit the data in Google Sheets, create new sheets, etc.

    The GitHub link above has a readme with usage details; there's also a vignette for getting started, or you can find the official documentation on CRAN.

提交回复
热议问题