Description Usage Arguments Value Examples
View source: R/download_file_as_data_frame.R
Download dataset file onto a data frame.
1 | download_file_as_data_frame(owner_id, dataset_id, file_name, col_types = NULL)
|
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. |
col_types |
column types specified in the same manner as the col_types parameter of readr::read_csv(), or pass NULL (the default) to detect column types automatically from the data.world table schema |
Data frame with the contents of CSV file.
1 2 3 4 5 6 | ## Not run:
my_df <- dwapi::download_file_as_data_frame(
"user", "dataset",
file_name = "file.csv")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.