Description Usage Arguments Value Examples
Upload a single file to a dataset.
| 1 | upload_file(dataset, path, file_name)
 | 
| dataset | Dataset URL or path. | 
| path | File path on local file system. | 
| file_name | File name, including file extension. | 
Server response message.
| 1 2 3 4 5 | ## Not run: 
  dwapi::upload_file(file_name = 'file.csv',
    path = 'file.csv', dataset = 'user/dataset')
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.