diff --git a/content/posts/2021-09.md b/content/posts/2021-09.md index ca9229c66..74fa7b992 100644 --- a/content/posts/2021-09.md +++ b/content/posts/2021-09.md @@ -362,4 +362,28 @@ postgres@linode18:~$ psql -c "SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activi - I downloaded the latest JDBC jar and put it in Tomcat's lib directory on DSpace Test and after restarting Tomcat I can see connections from `dspaceWeb` and `dspaceApi` again - I will do the same on CGSpace and then revert the JDBC change in Ansible and DSpace `pom.xml` +## 2021-09-29 + +- Export a list of ILRI subjects from CGSpace to validate against AGROVOC for Peter and Abenet: + +```console +localhost/dspace63= > \COPY (SELECT DISTINCT text_value FROM metadatavalue WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id = 203) to /tmp/2021-09-29-ilri-subject.txt; +COPY 149 +``` + +- Then validate and format the matches: + +```console +$ ./ilri/agrovoc-lookup.py -i /tmp/2021-09-29-ilri-subject.txt -o /tmp/2021-09-29-ilri-subjects.csv -d +$ csvcut -c subject,'match type' /tmp/2021-09-29-ilri-subjects.csv | sed -e 's/match type/matched/' -e 's/\(alt\|pref\)Label/yes/' > /tmp/2021-09-29-ilri-subjects2.csv +``` + +- I talked to Salem about depositing from MEL to CGSpace + - He mentioned that the one issue is that when you deposit to a workflow you don't get a Handle or any kind of identifier back! + - We might have to come to some kind of agreement that they deposit items without going into the workflow but that we have some kind of edit role in MEL + - He also said that they are looking into using the Research Organization Registry (RoR) in MEL, at least adding the `ror_id` and storing it + - I need to propose this to Peter again and perhaps start aligning our affiliations closer (I could even do something like the country codes with a process that scans every day) +- Talk to Moayad about OpenRXV + - We decided that we'd keep harvesting all the Handles from the Altmetric prefix API, but then have a plugin to retrive DOI scores that we can run manually + diff --git a/docs/2021-09/index.html b/docs/2021-09/index.html index b796d3cf3..cf012b820 100644 --- a/docs/2021-09/index.html +++ b/docs/2021-09/index.html @@ -26,7 +26,7 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu - + @@ -58,9 +58,9 @@ The syntax Moayad showed me last month doesn’t seem to honor the search qu "@type": "BlogPosting", "headline": "September, 2021", "url": "https://alanorth.github.io/cgspace-notes/2021-09/", - "wordCount": "2591", + "wordCount": "2812", "datePublished": "2021-09-01T09:14:07+03:00", - "dateModified": "2021-09-27T17:15:57+03:00", + "dateModified": "2021-09-28T22:00:36+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -532,6 +532,32 @@ UPDATE 49 +

2021-09-29

+ +
localhost/dspace63= > \COPY (SELECT DISTINCT text_value FROM metadatavalue WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id = 203) to /tmp/2021-09-29-ilri-subject.txt;
+COPY 149
+
+
$ ./ilri/agrovoc-lookup.py -i /tmp/2021-09-29-ilri-subject.txt -o /tmp/2021-09-29-ilri-subjects.csv -d
+$ csvcut -c subject,'match type' /tmp/2021-09-29-ilri-subjects.csv | sed -e 's/match type/matched/' -e 's/\(alt\|pref\)Label/yes/' > /tmp/2021-09-29-ilri-subjects2.csv
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index af281ee61..d70e41366 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 1f2543222..192993971 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 9efd798de..586886a2f 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 097db6d7e..08ad134da 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index e6bde06a3..3b6618971 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 029a5fa95..5092d513c 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index 0c8e5eb1d..22d739d4a 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 8ff8fa8dc..e681ce69f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 5b7724916..7b2626dcb 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 3b2e2f68a..4eac7ab4e 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 8329dcbca..2259792ea 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 93993eb3e..0e1bd52d5 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index baf93aa3f..48b000da9 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 53d69aa80..94d7c87a0 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index c9be000ed..a9f911714 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 8628a4b5b..5eed666ef 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 9f1227e99..236ee71fc 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index d91c62779..4843d3bcc 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 2a3813481..3a09213b4 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index fd6c24d71..80a6bf1e3 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index a8f1c4e61..f1bfe161d 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index cf14c9c4c..54be731f9 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index be4d4dbad..68b5765a4 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 99a52a009..6cb626cf0 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2021-09-27T17:15:57+03:00 + 2021-09-28T22:00:36+03:00 https://alanorth.github.io/cgspace-notes/ - 2021-09-27T17:15:57+03:00 + 2021-09-28T22:00:36+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2021-09-27T17:15:57+03:00 + 2021-09-28T22:00:36+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2021-09-27T17:15:57+03:00 + 2021-09-28T22:00:36+03:00 https://alanorth.github.io/cgspace-notes/2021-09/ - 2021-09-27T17:15:57+03:00 + 2021-09-28T22:00:36+03:00 https://alanorth.github.io/cgspace-notes/2021-08/ 2021-09-02T17:06:28+03:00