# NOT RUN {
ckanr_setup(url = "https://demo.ckan.org", key=getOption("ckan_demo_key"))
# create an organization
(res <- organization_create("foobar", title = "Foo bars",
description = "love foo bars"))
# delete the organization just created
res$id
organization_delete(id = res$id)
# }
Run the code above in your browser using DataCamp Workspace