Learn R Programming

umx (version 1.9.1)

dl_from_dropbox: dl_from_dropbox

Description

Download a file from Dropbox, given either the url, or the name and key

Usage

dl_from_dropbox(x, key = NULL)

Arguments

x

Either the file name, or full dropbox URL (see example below)

key

the code after s/ and before the file name in the dropbox url

Value

- NULL

Details

Improvements would include error handling...

References

- http://thebiobucket.blogspot.kr/2013/04/download-files-from-dropbox.html

See Also

Other File Functions: umx_make_sql_from_excel, umx_move_file, umx_open, umx_rename_file, umx

Examples

Run this code
# NOT RUN {
dl_from_dropbox("https://dl.dropboxusercontent.com/s/7kauod48r9cfhwc/tinytwinData.rda")
dl_from_dropbox("tinytwinData.rda", key = "7kauod48r9cfhwc")
# }

Run the code above in your browser using DataLab