digirati-co-uk / pmc-lux

Transforming data from PMC catalogues for import to LUX
MIT License
1 stars 0 forks source link

Library - add publishing event to LO #2

Open brutaldigital opened 1 week ago

brutaldigital commented 1 week ago

PMC example: https://lux-front-sbx.collections.yale.edu/view/text/96d4e28a-decd-4d03-8f12-15d0ae05305d e.g. record ID 1474407161

<year>2018</year>

YUL example: https://lux-front-sbx.collections.yale.edu/view/text/5b6afc6d-16c8-4685-9663-3b7412de441f Recipe from YUL: https://linked-art.library.yale.edu/node/67abd2f7-5011-49fd-b8b5-e1da1795ed0e

"used_for": [
{
"type": "Activity",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300054686",
"type": "Type",
"_label": "Publishing"
}
],
"took_place_at": [
{
"id": "https://linked-art.library.yale.edu/node/3fed51e1-9dac-426a-b975-1a491742c882",
"type": "Place",
"_label": "Scotland"
}
],
"timespan": {
"type": "TimeSpan",
"identified_by": [
{
"type": "Name",
"content": "2018",
"classified_as": [
{
"id": "http://vocab.getty.edu/aat/300404669",
"type": "Type",
"_label": "Display Title"
}
]
}
],
"begin_of_the_begin": "2018-01-01T00:00:00",
"end_of_the_end": "2018-12-31T23:59:59"
}
}
azaroth42 commented 4 days ago

The publishing event is there, but the issue is that the year is missing.

brutaldigital commented 3 days ago

So perhaps addressed with resolution of https://github.com/digirati-co-uk/pmc-lux/issues/18