diff --git a/content/posts/2024-03.md b/content/posts/2024-03.md index d85c0eb50..bb49483da 100644 --- a/content/posts/2024-03.md +++ b/content/posts/2024-03.md @@ -157,4 +157,22 @@ $ csvgrep -c 'dc.description.provenance[en_US]' -m 'Original URL from IFPRI CONT - I finalized the remaining two on Inkomati catchment and now we are at 900! +# 2024-03-19 + +- IWMI sent me some new author ORCID identifiers so I updated our list +- Started working on updating my data for the Ontology CoP webinar on CGIAR and AGROVOC + - First extracting all unique subjects on CGSpace: + +``` +localhost/dspace7= ☘ \COPY (SELECT DISTINCT(lower(text_value)) AS "subject" FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id IN (187, 120, 210, 122, 215, 127, 208, 124, 128, 123, 125, 135, 203, 236, 238, 119)) to /tmp/2024-03-19-cgspace-subjects.csv WITH CSV HEADER; +COPY 28024 +``` + +- Then I extracted the subjects and looked them up against AGROVOC: + +```console +$ csvcut -c subject /tmp/2024-03-19-cgspace-subjects.csv | sed '1d' > /tmp/2024-03-19-cgspace-subjects.txt +$ ./ilri/agrovoc_lookup.py -i /tmp/2024-03-19-cgspace-subjects.txt -o /tmp/2024-03-19-cgspace-subjects-results.csv +``` + diff --git a/docs/2022-06/index.html b/docs/2022-06/index.html index 89b96b7c3..e640e6d05 100644 --- a/docs/2022-06/index.html +++ b/docs/2022-06/index.html @@ -26,7 +26,7 @@ There seem to be many more of these: - + @@ -60,7 +60,7 @@ There seem to be many more of these: "url": "https://alanorth.github.io/cgspace-notes/2022-06/", "wordCount": "1789", "datePublished": "2022-06-06T09:01:36+03:00", - "dateModified": "2023-04-27T13:10:13-07:00", + "dateModified": "2024-03-19T09:01:13+03:00", "author": { "@type": "Person", "name": "Alan Orth" diff --git a/docs/2024-03/index.html b/docs/2024-03/index.html index 6892bbd9f..e6e63e2a2 100644 --- a/docs/2024-03/index.html +++ b/docs/2024-03/index.html @@ -19,7 +19,7 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808 - + @@ -44,9 +44,9 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808 "@type": "BlogPosting", "headline": "March, 2024", "url": "https://alanorth.github.io/cgspace-notes/2024-03/", - "wordCount": "923", + "wordCount": "1028", "datePublished": "2024-03-01T09:55:00+03:00", - "dateModified": "2024-03-14T09:29:05+03:00", + "dateModified": "2024-03-19T09:01:13+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -285,7 +285,23 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808 - +

2024-03-19

+ +
localhost/dspace7= ☘ \COPY (SELECT DISTINCT(lower(text_value)) AS "subject" FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id IN (187, 120, 210, 122, 215, 127, 208, 124, 128, 123, 125, 135, 203, 236, 238, 119)) to /tmp/2024-03-19-cgspace-subjects.csv WITH CSV HEADER;
+COPY 28024
+
+
$ csvcut -c subject /tmp/2024-03-19-cgspace-subjects.csv | sed '1d' > /tmp/2024-03-19-cgspace-subjects.txt
+$ ./ilri/agrovoc_lookup.py -i /tmp/2024-03-19-cgspace-subjects.txt -o /tmp/2024-03-19-cgspace-subjects-results.csv
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index abd8b4c45..c98160069 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/index.xml b/docs/categories/index.xml index f40c8c48b..72ed7c66e 100644 --- a/docs/categories/index.xml +++ b/docs/categories/index.xml @@ -6,7 +6,7 @@ Recent content in Categories on CGSpace Notes Hugo -- gohugo.io en-us - Thu, 14 Mar 2024 09:29:05 +0300 + Tue, 19 Mar 2024 09:01:13 +0300 Notes diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 6a00e6bd1..0fd02c8f3 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.xml b/docs/categories/notes/index.xml index da57c587a..0ae55ff64 100644 --- a/docs/categories/notes/index.xml +++ b/docs/categories/notes/index.xml @@ -6,7 +6,7 @@ Recent content in Notes on CGSpace Notes Hugo -- gohugo.io en-us - Thu, 14 Mar 2024 09:29:05 +0300 + Tue, 19 Mar 2024 09:01:13 +0300 March, 2024 diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index c1198436e..a20b3b44d 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 5f2264266..958a13ddd 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 49e3d03f2..2ff3f8b43 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 5290be160..eb9cc2ee6 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 43eb13d3d..3daa50b6d 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/categories/notes/page/7/index.html b/docs/categories/notes/page/7/index.html index 8a4738477..d900ae1ef 100644 --- a/docs/categories/notes/page/7/index.html +++ b/docs/categories/notes/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/8/index.html b/docs/categories/notes/page/8/index.html index 8fe70f5d1..7fc3e92ce 100644 --- a/docs/categories/notes/page/8/index.html +++ b/docs/categories/notes/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/9/index.html b/docs/categories/notes/page/9/index.html index 91f2e8b3f..ab64dfa2c 100644 --- a/docs/categories/notes/page/9/index.html +++ b/docs/categories/notes/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 20854154f..feb323ef4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.xml b/docs/index.xml index 7a1618f61..1a9c48633 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -6,7 +6,7 @@ Recent content on CGSpace Notes Hugo -- gohugo.io en-us - Thu, 14 Mar 2024 09:29:05 +0300 + Tue, 19 Mar 2024 09:01:13 +0300 March, 2024 diff --git a/docs/page/10/index.html b/docs/page/10/index.html index 4ef343262..2ebe55ee0 100644 --- a/docs/page/10/index.html +++ b/docs/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/11/index.html b/docs/page/11/index.html index 17308d5fd..a9700e8e4 100644 --- a/docs/page/11/index.html +++ b/docs/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 16a8056f0..c799458db 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 7376519e3..912a330fd 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 e4212e207..4cd18bf9d 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 9c105071a..d596032ef 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 07df53fcd..34a3b68e2 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 1948fe33e..7885e7303 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 986276a33..52aa816e7 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/9/index.html b/docs/page/9/index.html index 40a864824..bd9c38d0f 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 54abe9686..7b00e2688 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 9bb27f7c2..cc79730d9 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -6,7 +6,7 @@ Recent content in Posts on CGSpace Notes Hugo -- gohugo.io en-us - Thu, 14 Mar 2024 09:29:05 +0300 + Tue, 19 Mar 2024 09:01:13 +0300 March, 2024 diff --git a/docs/posts/page/10/index.html b/docs/posts/page/10/index.html index 776b1dacc..7936ff8de 100644 --- a/docs/posts/page/10/index.html +++ b/docs/posts/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/11/index.html b/docs/posts/page/11/index.html index e48bc6405..36bfbcd8c 100644 --- a/docs/posts/page/11/index.html +++ b/docs/posts/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 9d8b71c3b..15b807d5f 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 3c232b13a..ba0f70b97 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 41e785583..8fe7d7ef3 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 ac6ff649d..6718363b7 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 052b5f4be..37ee00908 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 0ad23e5d9..1c7fe3512 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 de88bc74f..e59829ad1 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 19f7e423e..e7a3843f2 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index b14f87eca..4b83437cf 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/ - 2024-03-14T09:29:05+03:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/ - 2024-03-14T09:29:05+03:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/2024-03/ - 2024-03-14T09:29:05+03:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2024-03-14T09:29:05+03:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2024-03-14T09:29:05+03:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/2024-02/ 2024-03-01T09:55:02+03:00 @@ -78,7 +78,7 @@ 2022-07-31T15:49:35+03:00 https://alanorth.github.io/cgspace-notes/2022-06/ - 2023-04-27T13:10:13-07:00 + 2024-03-19T09:01:13+03:00 https://alanorth.github.io/cgspace-notes/2022-05/ 2022-05-30T16:00:02+03:00