Delete a group

Share:

Description

Delete a group

Usage

1

Arguments

id

(character) The id of the group. Required.

key

A privileged CKAN API key, Default: your key set with ckanr_setup

url

Base url to use. Default: http://data.techno-science.ca. See also ckanr_setup and get_default_url.

...

Curl args passed on to POST (optional)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# Setup
ckanr_setup(url = "http://demo.ckan.org", key = getOption("ckan_demo_key"))

# create a group
(res <- group_create("lions", description="A group about lions"))

# show the group
group_show(res$id)

# delete the group
group_delete(res)
## or with it's id
# group_delete(res$id)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.