googledrive v0.1.1

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
as_team_drive Coerce to Team Drive
dribble-checks Check facts about a dribble
drive_api_key Retrieve API key
drive_auth Authorize googledrive
dribble dribble object
drive_about Get info on Drive capabilities
as_dribble Coerce to Drive files
as_id Extract and/or mark as file id
drive_auth_config View or set auth config
drive_browse Visit Drive file in browser
drive_find Find files on Google Drive
drive_get Get Drive files by path or id
drive_mv Move a Drive file
drive_publish Publish native Google files
drive_cp Copy a Drive file
drive_deauth Suspend authorization
drive_rename Rename a Drive file
drive_reveal Add column(s) with new information
drive_token Produce Google token
drive_trash Move Drive files to or from trash
token_available Check token availability
drive_extension Lookup extension from MIME type
drive_fields Request partial resources
drive_mime_type Lookup MIME type
drive_user Get info on current user
expose An expose object
team_drive_get Get Team Drives by name or id
team_drive_rm Delete Team Drives
drive_mkdir Create a Drive folder
drive_update Update an existing Drive file
drive_upload Upload into a new Drive file
drive_endpoints List Drive endpoints
drive_example Get path to example file
drive_link Retrieve Drive file links
team_drive_create Create a new Team Drive
team_drive_find Find Team Drives
drive_ls List contents of a folder or Team Drive
is_legit_token Check that token appears to be legitimate
make_request Make a request for the Google Drive v3 API
%>% Pipe operator
process_response Process a response from the Google Drive v3 API
drive_download Download a Drive file
drive_empty_trash Empty Drive Trash
drive_rm Delete files from Drive
drive_share Share Drive files
generate_request Build a request for the Google Drive v3 API
googledrive googledrive.
team_drive_update Update an existing Team Drive
team_drives Access Team Drives
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
Encoding UTF-8
LazyData true
URL http://googledrive.tidyverse.org, https://github.com/tidyverse/googledrive
BugReports https://github.com/tidyverse/googledrive/issues
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-08-27 19:30:28 UTC; jenny
Repository CRAN
Date/Publication 2017-08-28 21:57:16 UTC

Include our badge in your README

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