
Move a dataset to another organization
Source:R/package_dataset_extras.R
package_owner_org_update.RdOn CKAN 2.12 package_owner_org_update may report success without moving
the dataset; when the verification shows the dataset is still owned by
the previous organization, the function falls back to
package_patch() with owner_org, which moves the dataset reliably on
all supported versions.
Usage
package_owner_org_update(
id,
organization_id,
url = get_default_url(),
key = get_default_key(),
...
)Arguments
- id
(character or
ckan_package) Dataset identifier.- organization_id
(character or
ckan_organization) Owning organization 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)