Learn R Programming

dwapi (version 0.1.3.1)

add_file_by_source: Add a single file to a dataset.

Description

Add a single file to a dataset.

Usage

add_file_by_source(dataset, name, url)

Arguments

dataset

Dataset URL or path.

name

File name including the file extension. If a file by that name already exists in the dataset, the file will be updated/overwritten.

url

Source URL of file.

Value

Object of type success_message.

Examples

Run this code
# NOT RUN {
  dwapi::add_file_by_source(dataset = 'user/dataset',
    name = 'file.csv', url = 'https://data.world/some_file.csv')
# }

Run the code above in your browser using DataLab