Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

dwapi (version 0.1.3.1)

download_file: Download file from dataset onto the local file system.

Description

Download file from dataset onto the local file system.

Usage

download_file(dataset, file_name, output)

Arguments

dataset

Dataset URL or path.

file_name

File name, including file extension.

output

Local file path, where dataset file will be saved.

Value

Server response message.

Examples

Run this code
# NOT RUN {
  dwapi::download_file(dataset = 'user/dataset',
   file_name = 'file.csv', output = tempfile(fileext = 'csv'))
# }

Run the code above in your browser using DataLab