Learn R Programming

dwapi (version 0.1.3.1)

dataset_create_request: Create request object for new datasets.

Description

Create request object for new datasets.

Usage

dataset_create_request(title, visibility, description = "", summary = "",
  tags = list(), license_string = "", file_create_requests = list())

Arguments

title

Dataset title (3 to 60 characters).

visibility

Dataset visibility ("PRIVATE" or "OPEN").

description

(optional) Dataset description.

summary

(optional) Dataset summary (markdown supported).

tags

(optional) List of dataset tags (letters, numbers and spaces).

license_string

Dataset license ("Public Domain", "PDDL", "CC-0", "CC-BY", "ODC-BY", "CC-BY-SA", "ODC-ODbL", "CC BY-NC-SA" or Other).

file_create_requests

(optional) List of file_create_request objects.

Value

Request object of type dataset_create_request.

See Also

create_dataset, add_file

Examples

Run this code
# NOT RUN {
request <- dwapi::dataset_create_request(title='datasetid', visibility = 'OPEN',
  description = 'description', tags = c('sdk') , license_string = 'Public Domain')
request <- dwapi::add_file(request = request, name = 'file.csv',
  url = 'http://data.world/file.csv')
# }

Run the code above in your browser using DataLab