Learn R Programming

lares (version 4.8.4)

db_download: Download Dropbox File by File's Name

Description

This function lets the user download a file from Dropbox, specifying its name and using a previously created token.

Usage

db_download(
  filename,
  xlsx = TRUE,
  newname = "temp.xlsx",
  token_dir = NA,
  token_name = "token_pers.rds"
)

Arguments

filename

String. File's name

xlsx

Boolean. Is it an Excel file? Can be returned as a list for each tab and not as a file if needed

newname

Character. Name for new file

token_dir

Character. RDS with token local directory. You may set to NA if you already set your credentials (see get_creds())

token_name

Character. RDS file name with your token's data

See Also

Other Tools: autoline(), bindfiles(), bring_api(), db_upload(), export_plot(), export_results(), get_credentials(), h2o_predict_API(), h2o_predict_MOJO(), h2o_predict_binary(), h2o_predict_model(), h2o_selectmodel(), h2o_update(), haveInternet(), image_metadata(), importxlsx(), ip_country(), iter_seeds(), json2vector(), listfiles(), mailSend(), msplit(), myip(), pass(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), zerovar()

Other Credentials: f1_contacts(), geoAddress(), get_credentials(), get_tweets(), mailSend(), queryDB(), queryGA(), slackSend(), stocks_file(), stocks_report()

Other Dropbox: db_upload()