cessda / cessda.cdc.versions

Issue track and wiki for the CESSDA Data Catalogue
https://datacatalogue.cessda.eu/
Apache License 2.0
0 stars 0 forks source link

New DDI fields @ CDC #606

Closed kpapag closed 1 year ago

kpapag commented 1 year ago

New DDI Fields are to be added @ CDC as part of the EOSC project with ARIA and OpenAIRE. This is a preparation of how will these be represented.

CDC will use the same Access Rights vocabulary as OpenAIRE. The name of the vocabulary is “info:eu-repo-Access-Terms vocabulary”. Only the codes “restrictedAccess” and “openAccess” will be used.

/codeBook/stdyDscr/dataAccs/useStmt/restrctn -> "general free text"

/codeBook/stdyDscr/dataAccs/useStmt/conditions -> OpenAIRE Vocabulary

/codeBook/stdyDscr/dataAccs/useStmt/specPerm/@URI -> application form URL

/codeBook/stdyDscr/dataAccs/useStmt/specPerm -> more information

examples

<conditions elementVersion=”info:eu-repo-Access-Terms vocabulary”>restrictedAccess</conditions>

<specPerm URI=”https://www.link-to-form.com”>some text</specPerm>

there is already a test set from SoDaNet Dev Datacatalogue

https://dev-datacatalogue.sodanet.gr/oai?verb=ListIdentifiers&set=SODADEV-CESSDA-ARIA&metadataPrefix=oai_ddi

john-shepherdson commented 1 year ago

@kpapag Please provide IDs of some studies that contain magic links

kpapag commented 1 year ago

https://dev-datacatalogue.sodanet.gr/dataset.xhtml?persistentId=doi:10.17903/FK2/TOJ7AH

https://dev-datacatalogue.sodanet.gr/dataset.xhtml?persistentId=doi:10.17903/FK2/HP56HH

these 2 studies include the magic link

john-shepherdson commented 1 year ago

I cannot find either in https://datacatalogue-dev.cessda.eu (which harvested from the SoDaNet DEV endpoint last night). Have you made them available via OAI-PMH?

kpapag commented 1 year ago

yes i sent the oai link to Matthew on Friday

https://dev-datacatalogue.sodanet.gr/oai?verb=ListIdentifiers&set=SODADEV-CESSDA-ARIA&metadataPrefix=oai_ddi

matthew-morris-cessda commented 1 year ago

I've added the new endpoint under the SoDaNet-ARIA code with a friendly name of "SoDaNet - ARIA DEV ENDPOINT". See https://github.com/cessda/cessda.cdc.aggregator.deploy/commit/b7215d1308cee5f2d3b6e5a4e3280bfd75e4d629.

john-shepherdson commented 1 year ago

@matthew-morris-cessda The UI updates need to be in place and tested by Monday 11 September at the very latest. Is that achievable?

matthew-morris-cessda commented 1 year ago

Yes, barring unexpected complications

kpapag commented 1 year ago

also it would be great if we could re - harvest the sodanet dev env this Sunday or earlier if possible. Spotted a bug @ magic link production which I'm currently working on

matthew-morris-cessda commented 1 year ago

@kpapag I've noticed that the URIs are invalid. The errors reported are as follows

This is caused by the presence of { and } characters, which are disallowed in valid URIs (see https://www.ietf.org/rfc/rfc2396.html#section-2.4.3). The URI format should either escape these characters or use different ones.

kpapag commented 1 year ago

if { is used as %7B and } as %7D, will it become valid?

i have another meeting with ARIA today and will discuss this further, as these chars are used as part of their 'magic link' production

matthew-morris-cessda commented 1 year ago

Yes, these characters will be fine if escaped

kpapag commented 1 year ago

will update the oai links today, how fast can we check if the URIs will be validated?

matthew-morris-cessda commented 1 year ago

Very quickly

matthew-morris-cessda commented 1 year ago

image

An example of how this will look when fully implemented.

kpapag commented 1 year ago

@matthew-morris-cessda new URI's are ready to be validated

matthew-morris-cessda commented 1 year ago

The URIs still have issues as they contain the " character, which isn't allowed.

kpapag commented 1 year ago

will update this asap