Learn R Programming

lares (version 4.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