mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-07-07
This commit is contained in:
@ -271,4 +271,31 @@ $ ./agrovoc-lookup.py -i 2020-07-05-cgspace-subjects.txt -om 2020-07-05-cgspace-
|
||||
- They responded to say that `matchedPrefLabel` is not a property in SKOS/SKOSXL vocabulary, but their SKOSMOS system seems to use it to hint that the search terms matched a `prefLabel` in another language
|
||||
- I will treat the `matchedPrefLabel` values as if they were `prefLabel` values for the indicated language then
|
||||
|
||||
## 2020-07-07
|
||||
|
||||
- Peter asked me to send him a list of sponsors on CGSpace
|
||||
|
||||
```
|
||||
dspace=# \COPY (SELECT DISTINCT text_value as "dc.description.sponsorship", count(text_value) FROM metadatavalue WHERE resource_type_id=2 AND metadata_field_id=29 GROUP BY "dc.description.sponsorship" ORDER BY count DESC) TO /tmp/2020-07-07-sponsors.csv WITH CSV HEADER;
|
||||
COPY 707
|
||||
```
|
||||
|
||||
- I ran it quickly through my `csv-metadata-quality` tool and found two issues that I will correct with `fix-metadata-values.py` on CGSpace immediately:
|
||||
|
||||
```
|
||||
$ cat 2020-07-07-fix-sponsors.csv
|
||||
dc.description.sponsorship,correct
|
||||
"Ministe`re des Affaires Etrange`res et Européennes, France","Ministère des Affaires Étrangères et Européennes, France"
|
||||
"Global Food Security Programme, United Kingdom","Global Food Security Programme, United Kingdom"
|
||||
$ ./fix-metadata-values.py -i 2020-07-07-fix-sponsors.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -t correct -m 29
|
||||
```
|
||||
|
||||
- Upload the Capacity Development July newsletter to CGSpace for Ben Hack because Abenet and Bizu usually do it, but they are currently offline due to the Internet being turned off in Ethiopia
|
||||
- Here: https://hdl.handle.net/10568/108708
|
||||
- I implemented the Dimensions.ai badge on DSpace Test for Peter to see, as he's been asking me for awhile:
|
||||
|
||||

|
||||
|
||||
- It was easy once I figured out how to do the XSLT in the DSpace theme (need to get the DOI link and remove the "https://doi.org/" from the string)
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user