dropbox_get: Downloads a file from your Dropbox

Description Usage Arguments Value Examples

Description

Currently the function does not provide much support other than retrieving the contents of whatever Dropbox file you specify. Use TextConnection to process ascii files for the time being.

Usage

1
2
  dropbox_get(cred, file_to_get, curl = getCurlHandle(),
    ..., binary = NA)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

file_to_get

Specifies the path to the file you want to retrieve. Path must be relative to Dropbox root.

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint).

binary

set if the object you are retrieving is binary.

...

optional additional curl options (debugging tools mostly)..

Value

R object

Examples

1
2
3
4
## Not run: 
x <- dropbox_get(db_cred, '/folder/file.csv')

## End(Not run)

karthik/rDrop documentation built on May 20, 2019, 7:22 a.m.