gdcc/pyDataverse

Dataset metadata attribute "topicClassVocabURI" missing

Closed this issue · 0 comments

Bug report

The Dataset metadata attribute topicClassVocabURI is missing after Dataset creation via the API.

Environment

  • OS: Ubuntu 18.04, 64bit
  • pyDataverse: 0.3.0
  • Python: 3.6.12
  • Dataverse: 4.18.1 (Docker)

Possible solution

Add topicClassVocabURI in models.py to Dataset() class.

The JSON created should be of structure:

  • topicClassVocabURI
    • typeclass: primitive
    • value: VALUE
    • multiple: false
    • typeName: topicClassVocabURI

Root Cause Analysis

Solution

  • Check existing tests
  • Write test
  • Update existing tests + test data
  • Implement solution