Skip to contents

Upload a local file to dropbox and handle authentication. Automatically zips files over 300mb by default.

Usage

dropbox_upload(log, file_path, dropbox_path, compress = TRUE)

Arguments

log

dataframe. Validation Log for OH cleaning pipelines. Will work with any tabular data.

file_path

character. local file path for upload

dropbox_path

character. relative dropbox path

compress

logical. Should files over 300mb be compressed?

Value

performs drop box upload

Details

This is a wrapper of rdrop2::drop_upload() which first reads in a local CSV file and then uploads to a DropBox path.

Examples

if (FALSE) { # \dontrun{
    dropbox_upload(
    kzn_animal_ship_semiclean,
    file_path = here::here("outputs/data.csv"),
    dropbox_path = "XYZ/Data/semi_clean_data"
    )
} # }