EMODnet / esas2obis

Darwin Core mapping of ESAS data for publication to OBIS
MIT License
0 stars 0 forks source link

How to map multiple `rightsHolder` #32

Closed peterdesmet closed 1 year ago

peterdesmet commented 1 year ago

@pieterprovoost @rubenpp7 some campaigns in ESAS have multiple dataRightsHolders, e.g.:

https://esas.ices.dk/api/getCampaignRecords?campaignID=775

[
  {
    "tblUploadID": 231,
    "tblCampaignID": 208521,
    "dataRightsHolder": "3269~2299",
    "country": "DE",
    "campaignID": "775",
    "dataAccess": "Public",
    "startDate": "2011-07-27",
    "endDate": "2011-08-22",
    "notes": null
  }
]

3269~2299 indicates Federal Agency for Nature Conservation (BfN) | Research and Technology Centre (Buesum) (FTZ)

Can I map both in rightsHolder (separated with |) or do you prefer that I only keep the first one?

peterdesmet commented 1 year ago

Sorry, submitted before issue was finished. Updated now in issue body.

peterdesmet commented 1 year ago

@nicolasvanermen prefers to list all rightsHolders

nicolasvanermen commented 1 year ago

Best is to map all data rights holders.

pieterprovoost commented 1 year ago

Yes, pipe separated rightsHolders is fine.

peterdesmet commented 1 year ago

Fixed in 0a6c8fa