datadotworld/ckanext-datadotworld

Fix mapping of title, description and summary

Closed this issue · 6 comments

When updating a dataset in CKAN:

  1. Changing the title does not change the dataset in data.world
  2. Changing the description changes both description and summary in data.world

Instead, the mapping from CKAN to data.world should be:

  1. ckan:ID -> dw:title
  2. ckan:title -> dw:description
  3. ckan:notes -> dw:summary

Fixed in #7

@iaroslav13 This seems to have introduced a pretty serious bug. I'm unable to create or update any datasets at the moment.

The issue is related to #4 . We will fix it on our end.

For now, you can add descriptions to files and the datasets will be replicated. You can use Failed Dataset Replications page to get some information about the errors.

Also there is an issue with the API, it looks like when dataset is updated (and new title is set), it's not updated on data.world. At least it is not reflected on front-end

Seems fine, upon testing. I'll test some more.

@iaroslav13 This is good for now. The only problem I see is with the ckan:ID > dw:title mapping. dw:title is typically a human readable dataset name (up to 60 characters). I don't think a similar concept exists on the CKAN side so, although not ideal, ckan:ID might be the best option we have there. Thoughts?