Learn R Programming

lares (version 4.8.4)

db_upload: Upload Dropbox File

Description

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

Usage

db_upload(
  filename,
  dir,
  delete_file = FALSE,
  token_dir = NA,
  token_name = "token_pers.rds"
)

Arguments

filename

String. File's name

dir

String. Directory you wish to upload the file to

delete_file

Boolean. Delete local file after uploading?

token_dir

Character. Credential's local directory

token_name

Character. RDS file name with your token's data

See Also

Other Tools: autoline(), bindfiles(), bring_api(), db_download(), 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 Dropbox: db_download()