An Interface to Google Drive

Manage Google Drive files from R.


CRAN_Status_Badge Build StatusAppVeyor Build Statuscodecov

Overview

googledrive allows you to interact with files on Google Drive from R.

Installation

Install the CRAN version:

install.packages("googledrive")

Or install the development version from GitHub:

devtools::install_github("tidyverse/googledrive")

Usage

Please see the package website: https://tidyverse.github.io/googledrive/

Here's a teaser that uses googledrive to view some of the files you see on https://drive.google.com:

library("googledrive")
drive_find(n_max = 25)
#> Auto-refreshing stale OAuth token.
#> # A tibble: 25 x 3
#>                            name
#>  *                        <chr>
#>  1               chicken-rm.txt
#>  2                  chicken.jpg
#>  3           README-mirrors.csv
#>  4           README-mirrors.csv
#>  5                          def
#>  6                          abc
#>  7               folder1-level4
#>  8               folder1-level3
#>  9      cranberry-TEST-drive-ls
#> 10 folder1-level2-TEST-drive-ls
#> # ... with 15 more rows, and 2 more variables: id <chr>,
#> #   drive_resource <list>

Contributing

If you'd like to contribute to the development of googledrive, please read these guidelines.

News

googledrive 0.0.0.9000

  • Added a NEWS.md file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("googledrive")

0.1.1 by Jennifer Bryan, 6 months ago


http://googledrive.tidyverse.org, https://github.com/tidyverse/googledrive


Report a bug at https://github.com/tidyverse/googledrive/issues


Browse source code at https://github.com/cran/googledrive


Authors: Lucy D'Agostino McGowan [aut], Jennifer Bryan [aut, cre], RStudio [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports curl, glue, httr, jsonlite, purrr, rlang, tibble, utils, uuid

Suggests covr, dplyr, knitr, pingr, rmarkdown, rprojroot, testthat


See at CRAN