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