Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tidyverse/googledrive
Google Drive R API
https://github.com/tidyverse/googledrive
google-drive r
Last synced: 2 months ago
JSON representation
Google Drive R API
- Host: GitHub
- URL: https://github.com/tidyverse/googledrive
- Owner: tidyverse
- License: other
- Created: 2017-04-26T23:22:32.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T13:42:07.000Z (8 months ago)
- Last Synced: 2024-05-29T05:31:03.010Z (8 months ago)
- Topics: google-drive, r
- Language: R
- Homepage: https://googledrive.tidyverse.org/
- Size: 28.3 MB
- Stars: 316
- Watchers: 21
- Forks: 44
- Open Issues: 37
-
Metadata Files:
- Readme: README.Rmd
- Contributing: .github/CONTRIBUTING.Rmd
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Support: .github/SUPPORT.md
Awesome Lists containing this project
- awesome-shiny-extensions - googledrive - R API client for Google Drive. (Backend / G Suite Integration)
- jimsghstars - tidyverse/googledrive - Google Drive R API (R)
README
---
output: github_document
---```{r setup, include = FALSE}
auth_success <- tryCatch(
googledrive:::drive_auth_docs(),
googledrive_auth_internal_error = function(e) e
)knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
error = TRUE,
purl = googledrive::drive_has_token(),
eval = googledrive::drive_has_token()
)
``````{r eval = !googledrive::drive_has_token(), echo = FALSE, comment = NA}
googledrive:::drive_bullets(c(
"Code chunks will not be evaluated, because:",
strsplit(auth_success$message, split = "\n")[[1]]
))
googledrive::drive_deauth()
```[![CRAN status](https://www.r-pkg.org/badges/version/googledrive)](https://CRAN.R-project.org/package=googledrive)
[![R-CMD-check](https://github.com/tidyverse/googledrive/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidyverse/googledrive/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/tidyverse/googledrive/branch/main/graph/badge.svg)](https://app.codecov.io/gh/tidyverse/googledrive?branch=main)## Overview
googledrive allows you to interact with files on Google Drive from R.
## Installation
Install the CRAN version:
```{r, eval = FALSE}
install.packages("googledrive")
```Or install the development version from GitHub:
```{r, eval = FALSE}
# install.packages("pak")
pak::pak("tidyverse/googledrive")
```## Usage
Please see the package website:
Here's a teaser that uses googledrive to view some of the files you see on (up to `n_max = 25`, in this case):
```{r}
library("googledrive")
drive_find(n_max = 25)
```## Contributing
If you'd like to contribute to the development of googledrive, please read [these guidelines](https://googledrive.tidyverse.org/CONTRIBUTING.html).
Please note that the googledrive project is released with a [Contributor Code of Conduct](https://googledrive.tidyverse.org/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
## Privacy
[Privacy policy](https://www.tidyverse.org/google_privacy_policy)