# NOT RUN {
# Setup
ckanr_setup(url = "https://demo.ckan.org", key = getOption("ckan_demo_key"))
# Create a package
(res <- group_create("hello-my-world2"))
# Get a resource
grp <- group_show(res$id)
grp$title
grp$author_email
# Make some changes
x <- list(title = "!hello world!", maintainer_email = "hello@world.com")
group_patch(x, id = grp)
# }
Run the code above in your browser using DataCamp Workspace