Add notes for 2023-12-08

This commit is contained in:
2023-12-09 09:55:16 +03:00
parent 2ecafafc17
commit bc6412de09
140 changed files with 191 additions and 177 deletions

View File

@ -114,6 +114,7 @@ $ for network in $(csvcut -c network /tmp/ips.csv | sed 1d | sort -u); do grepci
- Finalized the script to generate Solr statistics for Alliance research Mirjam
- The script is `ilri/generate_solr_statistics.py`
- I generated ~3,200 statistics based on her records of the download statistics of [that item](https://hdl.handle.net/10568/131997) and imported them on CGSpace
- Did some work on the DSpace 7 submission form
- Peter asked for lists of affiliations, investors, and publishers to do some cleanups
- I generated a list from a CSV export instead of doing it based on a SQL dump...
@ -126,4 +127,11 @@ $ csvcut -c 'cg.contributor.affiliation[en_US]' /tmp/initiatives.csv \
> /tmp/2023-12-08-initiatives-affiliations.csv
```
- Export a list of authors as well:
```console
localhost/dspace7= ☘ \COPY (SELECT DISTINCT text_value AS "dc.contributor.author", count(*) FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id = 3 GROUP BY "dc.contributor.author" ORDER BY count DESC) to /tmp/2023-12-08-authors.csv WITH CSV HEADER;
COPY 102435
```
<!-- vim: set sw=2 ts=2: -->