umx (version 4.0.0)

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

None

Details

Improvements would include error handling...

References

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

See Also

Other File Functions: umx_file_load_pseudo(), umx_make_sql_from_excel(), umx_move_file(), umx_open(), umx_rename_file(), umx_write_to_clipboard(), 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