From 20ace466147ce4a9b2b4fa4c89560aadb4211729 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 10 Jan 2024 17:21:12 +0300 Subject: [PATCH] Add notes --- content/posts/2024-01.md | 30 ++++++++++++++++++++++ docs/2024-01/index.html | 34 ++++++++++++++++++++++--- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/categories/notes/page/5/index.html | 2 +- docs/categories/notes/page/6/index.html | 2 +- docs/categories/notes/page/7/index.html | 2 +- docs/categories/notes/page/8/index.html | 2 +- docs/index.html | 2 +- docs/page/10/index.html | 2 +- docs/page/11/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/page/8/index.html | 2 +- docs/page/9/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/10/index.html | 2 +- docs/posts/page/11/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/posts/page/8/index.html | 2 +- docs/posts/page/9/index.html | 2 +- docs/sitemap.xml | 10 ++++---- 34 files changed, 97 insertions(+), 39 deletions(-) diff --git a/content/posts/2024-01.md b/content/posts/2024-01.md index 492bfcbf5..789adf0aa 100644 --- a/content/posts/2024-01.md +++ b/content/posts/2024-01.md @@ -180,4 +180,34 @@ $ wc -l /tmp/users-before.txt - I decided to do the same on CGSpace and it worked without errors - I finished working on the controlled vocabulary for publishers +## 2024-01-10 + +- I spent some time deleting old groups on CGSpace +- I looked into the use of the `cg.identifier.ciatproject` field and found there are only a handful of uses, with some even seeming to be a mistake: + +```console +localhost/dspace7= ☘ SELECT DISTINCT text_value AS "cg.identifier.ciatproject", count(*) FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata +_field_id = 232 GROUP BY "cg.identifier.ciatproject" ORDER BY count DESC; + cg.identifier.ciatproject │ count +───────────────────────────┼─────── + D145 │ 4 + LAM_LivestockPlus │ 2 + A215 │ 1 + A217 │ 1 + A220 │ 1 + A223 │ 1 + A224 │ 1 + A227 │ 1 + A229 │ 1 + A230 │ 1 + CLIMATE CHANGE MITIGATION │ 1 + LIVESTOCK │ 1 +(12 rows) + +Time: 240.041 ms +``` + +- I think we can move those to a new `cg.identifier.project` if we create one +- The `cg.identifier.cpwfproject` field is similarly sparse, but the CCAFS ones are widely used + diff --git a/docs/2024-01/index.html b/docs/2024-01/index.html index 966895b67..317f27037 100644 --- a/docs/2024-01/index.html +++ b/docs/2024-01/index.html @@ -22,7 +22,7 @@ Work on IFPRI ISNAR archive cleanup - + @@ -50,9 +50,9 @@ Work on IFPRI ISNAR archive cleanup "@type": "BlogPosting", "headline": "January, 2024", "url": "https://alanorth.github.io/cgspace-notes/2024-01/", - "wordCount": "1167", + "wordCount": "1306", "datePublished": "2024-01-02T10:08:00+03:00", - "dateModified": "2024-01-07T22:18:43+03:00", + "dateModified": "2024-01-10T08:34:16+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -312,6 +312,34 @@ Work on IFPRI ISNAR archive cleanup
  • I decided to do the same on CGSpace and it worked without errors
  • I finished working on the controlled vocabulary for publishers
  • +

    2024-01-10

    + +
    localhost/dspace7= ☘ SELECT DISTINCT text_value AS "cg.identifier.ciatproject", count(*) FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata
    +_field_id = 232 GROUP BY "cg.identifier.ciatproject" ORDER BY count DESC;
    + cg.identifier.ciatproject │ count
    +───────────────────────────┼───────
    + D145                      │     4
    + LAM_LivestockPlus         │     2
    + A215                      │     1
    + A217                      │     1
    + A220                      │     1
    + A223                      │     1
    + A224                      │     1
    + A227                      │     1
    + A229                      │     1
    + A230                      │     1
    + CLIMATE CHANGE MITIGATION │     1
    + LIVESTOCK                 │     1
    +(12 rows)
    +
    +Time: 240.041 ms
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index 5883df674..05f6bd2a6 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 947154e61..71e632573 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 671e4f5da..72f5d57be 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 f8c0c23b1..1b5c8a059 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 e6c757e1c..0a528dfe7 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 af33a76cc..0da6e492a 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 74824549d..03bacdc83 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 f0d65d546..4051b42dd 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 af0485a9a..d98d64d2a 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/index.html b/docs/index.html index e5c5dcdaa..a9c3a71b4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/10/index.html b/docs/page/10/index.html index 487a0e74e..837965a69 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 f58f92384..7dbddcb21 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 c0a3a23d1..445a3eb57 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 ce423f58e..8278406e7 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 b03d6599f..8fe3c9498 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 b27e27177..19caca806 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 54e161af6..996138e49 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 83901a1fb..69f442168 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 f40764c69..d0973c5a4 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 18c048598..56e049367 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 dce6bddc4..d32ccf122 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/10/index.html b/docs/posts/page/10/index.html index 883a519ff..35858ad75 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 7456a0803..5e154d789 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 5a21116b7..8099ba973 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 33c763ca3..0f82d6270 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 de4a47ff9..66e957917 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 60dff6bbc..3fbba1548 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 4a8c75f45..843b2cc88 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 2d9dbf6bd..09892a075 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 5876ba195..bf0b1ee41 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 d328816cd..fc4083487 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 976796045..abe7aeae0 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-01-07T22:18:43+03:00 + 2024-01-10T08:34:16+03:00 https://alanorth.github.io/cgspace-notes/ - 2024-01-07T22:18:43+03:00 + 2024-01-10T08:34:16+03:00 https://alanorth.github.io/cgspace-notes/2024-01/ - 2024-01-07T22:18:43+03:00 + 2024-01-10T08:34:16+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2024-01-07T22:18:43+03:00 + 2024-01-10T08:34:16+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2024-01-07T22:18:43+03:00 + 2024-01-10T08:34:16+03:00 https://alanorth.github.io/cgspace-notes/2023-12/ 2023-12-29T12:08:57+03:00