if (FALSE) {
ckanr_setup(url = "https://demo.ckan.org/", key = getOption("ckan_demo_key"))
(grps <- group_list())
grps[[3]]
# create item class from only an item ID
as.ckan_group(grps[[3]]$id)
# gives back itself
(x <- as.ckan_group(grps[[3]]$id))
as.ckan_group(x)
}
Run the code above in your browser using DataLab