Streamlined Interface to Interact with Cloud Storage Platforms

A unified interface for simplifying cloud storage interactions, including uploading, downloading, reading, and writing files, with functions for both 'Google Drive' (< https://www.google.com/drive/>) and 'Amazon S3' (< https://aws.amazon.com/s3/>).


cloudfs cloudfs website

CRAN status R-CMD-check

cloudfs is an R package developed by Gradient Metrics that offers a unified interface for simplifying cloud storage interactions. cloudfs supports uploading, downloading, reading, and writing files for both Google Drive and Amazon S3.

Installation

# from CRAN
install.packages("cloudfs")

# from GitHub
remotes::install_github("g6t/cloudfs")

Key Features

  1. Relative path simplicity

    Use paths relative to your project's main cloud folder.

    cloud_drive_download("raw_data/transactions.xlsx")
    
  2. Unified interface for Google Drive and S3

    Downloading from S3? The process is just as straightforward.

    cloud_s3_download("raw_data/transactions.xlsx")
    
  3. Extension-aware functions

    The package automatically selects the right read or write function based on the file extension, simplifying your interactions.

    cloud_s3_write(glmnet_model, "models/glmnet.rds")
    

    If you don't like the default function, you can use a different one by explicitly calling it.

    cloud_s3_write(glmnet_model, "models/glmnet.rds", fun = readr::write_rds)
    
  4. Effortless cloud navigation

    Open folders in browser

    cloud_drive_browse("plots")
    

    or list contents in console.

    cloud_s3_ls("data")
    
  5. Bulk file management

    Easily retrieve all data from a folder in one go

    all_data <- 
      cloud_s3_ls("data") %>%
      cloud_s3_read_bulk()
    

    or push multiple files to the cloud at once.

    cloud_local_ls("plots") %>% cloud_drive_upload_bulk()
    

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("cloudfs")

0.1.3 by Iaroslav Domin, 2 years ago


https://g6t.github.io/cloudfs/, https://github.com/g6t/cloudfs


Report a bug at https://github.com/g6t/cloudfs/issues


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


Authors: Iaroslav Domin [aut, cre] , Stefan Musch [aut] , Michal Czyz [aut] , Emmanuel Ugochukwu [aut] , Gradient Metrics [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports aws.s3, googledrive, desc, dplyr, cli, utils, rlang, glue, httr

Suggests googlesheets4, haven, jsonlite, knitr, readr, readxl, rmarkdown, testthat, withr, writexl, xml2


See at CRAN