Learn R Programming

rDrop (version 0.3-0)

dropbox_media: Stream data from Dropbox

Description

This function behaves very similar to dropbox_share. The difference is that this bypasses the Dropbox webserver, used to provide a preview of the file, so that you can effectively stream the contents of your media.

Usage

dropbox_media(cred, path = NULL, curl = getCurlHandle(),
    ...)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

path

Path to object on Dropbox.

curl

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

...

optional additional curl options (debugging tools mostly).

Value

list with URL to R object and expiration date/time.

See Also

dropbox_share

Examples

Run this code
# NOT RUN {
dropbox_media(db_cred, '/data/file.csv')
# }

Run the code above in your browser using DataLab