Description Usage Arguments Value See Also Examples
View source: R/file_create_or_update_request.R
Create object for adding a dataset file.
1  | file_create_request(file_name, url, description = NULL, labels = NULL)
 | 
file_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 for file.  | 
description | 
 (optional) File description.  | 
labels | 
 (optional) List of file labels ("raw data", "documentation", "visualization", "clean data", "script" or "report").  | 
Object of type file_create_request.
create_dataset, replace_dataset
1 2 3 4  | file_create_req <- dwapi::file_create_request(file_name = "file.csv",
  url = "https://data.world/file.csv",
  description = "My CSV file",
  labels = list("raw data"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.