googledrive v0.1.2

0

Monthly downloads

0th

Percentile

An Interface to Google Drive

Manage Google Drive files from R.

Readme

googledrive

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:

# install.packages("devtools")
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.

Functions in googledrive

Name Description
drive_cp Copy a Drive file
drive_auth Authorize googledrive
drive_example Get path to example file
drive_endpoints List Drive endpoints
drive_link Retrieve Drive file links
drive_ls List contents of a folder or Team Drive
drive_token Produce Google token
drive_trash Move Drive files to or from trash
team_drives Access Team Drives
team_drive_update Update an existing Team Drive
drive_find Find files on Google Drive
drive_deauth Suspend authorization
drive_share Share Drive files
drive_rm Delete files from Drive
drive_update Update an existing Drive file
drive_upload Upload into a new Drive file
drive_get Get Drive files by path or id
drive_download Download a Drive file
drive_empty_trash Empty Drive Trash
drive_mv Move a Drive file
drive_publish Publish native Google files
drive_user Get info on current user
expose An expose object
%>% Pipe operator
drive_extension Lookup extension from MIME type
generate_request Build a request for the Google Drive v3 API
drive_fields Request partial resources
process_response Process a response from the Google Drive v3 API
drive_mime_type Lookup MIME type
drive_mkdir Create a Drive folder
team_drive_create Create a new Team Drive
drive_rename Rename a Drive file
drive_reveal Add column(s) with new information
googledrive-package googledrive: An Interface to Google Drive
is_legit_token Check that token appears to be legitimate
make_request Make a request for the Google Drive v3 API
team_drive_find Find Team Drives
team_drive_get Get Team Drives by name or id
token_available Check token availability
team_drive_rm Delete Team Drives
drive_api_key Retrieve API key
as_id Extract and/or mark as file id
as_dribble Coerce to Drive files
dribble-checks Check facts about a dribble
dribble dribble object
as_team_drive Coerce to Team Drive
drive_auth_config View or set auth config
drive_about Get info on Drive capabilities
drive_browse Visit Drive file in browser
No Results!

Vignettes of googledrive

Name
articles/file-identification.Rmd
articles/multiple-files.Rmd
articles/permissions.Rmd
googledrive.Rmd
No Results!

Last month downloads

Details

License MIT + file LICENSE
URL https://googledrive.tidyverse.org, https://github.com/tidyverse/googledrive
BugReports https://github.com/tidyverse/googledrive/issues
VignetteBuilder knitr
Encoding UTF-8
LazyData true
RoxygenNote 6.1.0
NeedsCompilation no
Packaged 2018-10-06 07:38:07 UTC; jenny
Repository CRAN
Date/Publication 2018-10-06 08:00:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/googledrive)](http://www.rdocumentation.org/packages/googledrive)