Delete a resource view
Usage
resource_view_delete(id, url = get_default_url(), key = get_default_key(), ...)Arguments
- id
(character or
ckan_resource_view) View identifier.- url
Base URL to use. Default: https://demo.ckan.org/. See also
ckanr_setupandget_default_url.- key
A privileged CKAN API key. Default: your key set with
ckanr_setup- ...
Extra curl arguments. The function passes them to
verb-POST(optional)
Value
(bool) Result of the deletion. The value is TRUE when the function deletes the resource view successfully, and FALSE when it does not.
Examples
if (FALSE) { # \dontrun{
ckanr_setup(url = "https://demo.ckan.org/", key = getOption("ckan_demo_key"))
resource_view_delete("view-id")
} # }
