group_delete: Delete a group

Description Usage Arguments Examples

View source: R/group_delete.R

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)


ckanr documentation built on May 20, 2017, 12:22 a.m.
Search within the ckanr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.