mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes
This commit is contained in:
@ -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
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user