cloud_get: cloud_get

Description Usage Arguments Value

View source: R/cloudstorapi-access.R

Description

cloud_list() downloads a file from a Cloudstor folder. The file is opened and read into R using rio, or optionally the file path is returned.

Usage

1
2
3
4
5
6
7
8
cloud_get(
  path,
  dest = NULL,
  user = cloud_auth_user(),
  password = cloud_auth_pwd(),
  open_file = TRUE,
  ...
)

Arguments

path

The path to file or folder.

dest

The destination for saving the file.

user

Cloudstor user name

password

Cloudstor password

open_file

If TRUE, open the file using rio. Else, returns the file path

...

pass additional arguments to rio::import()

Value

The file object or folder path is returned, depending on open_file


cloudstoR documentation built on Jan. 16, 2022, 9:06 a.m.