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 30, 2017, 2:21 a.m.

Search within the ckanr package
Search all R packages, documentation and source code