Description Usage Arguments Value Examples
View source: R/download_file.R
Download file from dataset onto the local file system.
1 | download_file(owner_id, dataset_id, file_name, output)
|
owner_id |
User name and unique identifier of the creator of a dataset or project |
dataset_id |
Dataset unique identifier |
file_name |
File name, including file extension. |
output |
Local file path, where dataset file will be saved. |
Server response message.
1 2 3 4 5 | ## Not run:
dwapi::download_file('user', 'dataset',
file_name = 'file.csv', output = tempfile(fileext = 'csv'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.