mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2024-03-13
This commit is contained in:
@ -97,4 +97,20 @@ $ csvcut -c 'id,dc.title[en_US],dc.identifier.uri[en_US],cg.link.permalink[en_US
|
||||
| csvgrep -c 'cg.link.permalink[en_US]' -r '^.+$' > /tmp/2024-03-11-Bioversity-Permalinks.csv
|
||||
```
|
||||
|
||||
## 2024-03-12
|
||||
|
||||
- Run the duplicate checker for IFPRI 2023 batch upload
|
||||
|
||||
## 2024-03-13
|
||||
|
||||
- I found about 428 duplicates in the IFPRI 2023 batch records
|
||||
- Alarmingly, I found about 18 that are duplicated on CGSpace as well!
|
||||
- I looked closer and decided that 11 were duplicates, so I merged the metadata and withdrew the later ones
|
||||
- Alliance asked me to get him the Handles for items submitted by TIP that are not discoverable
|
||||
- I found it easiest to use the `ds6_item2itemhandle` [DSpace SQL helper function](https://wiki.lyrasis.org/display/DSPACE/Helper+SQL+functions+for+DSpace+6) with a nested query on the provenance:
|
||||
|
||||
```sql
|
||||
SELECT ds6_item2itemhandle(dspace_object_id) AS handle FROM metadatavalue WHERE dspace_object_id IN (SELECT uuid FROM item WHERE NOT discoverable) AND metadata_field_id=28 AND text_value LIKE 'Submitted by Alliance TIP Submit%';
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user