Learn R Programming

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

token_dir

Character. RDS with token local directory

token_name

Character. RDS file name with your token's data