bef.portal.upload.dataset: Upload a dataset to the BEFdata portal
Description
This function uploads a dataset from within R to a
BEFdata portal set in your options. Before you can do so
you need to have an account on the portal and set your
credentials via the bef.options() function so the
authentication works. The function requires a title for
the dataset and either a path to a CSV file for for
upload or a dataset object. The dataset must have unique
column names.
The data you like to upload as dataset.
This can be a path to a CSV file or a data frame. Please
not that you have to ensure that the column names are
unique.
dataset_title
The title of the dataset.
curl
You can pass in a curl handle with additional
options. By default a curl handle is used to improve the
memory footprint.
open_browser
If this is set to true the page of
the dataset is opened in the browser after successful
upload. This defaults to FALSE.
Value
Returns a status message with the ID of the dataset.