Description Usage Arguments Value Examples
View source: R/upload_data_frame.R
Upload a data frame as a file to a dataset.
1 | upload_data_frame(data_frame, owner_id, dataset_id, file_name)
|
data_frame |
Data frame object. |
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. |
Server response message.
1 2 3 4 5 6 7 8 | df = data.frame(a = c(1,2,3), b = c(4,5,6))
## Not run:
dwapi::upload_data_frame(file_name = 'sample.csv',
data_frame = df, owner_id = 'user', dataset_id = 'dataset')
df %>% dwapi::upload_data_frame('user', 'dataset',
file_name = 'sample.csv')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.