mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2023-03-07
This commit is contained in:
@ -62,5 +62,23 @@ df = pd.read_csv(args.input_file, engine='pyarrow', dtype='string[pyarrow]'
|
||||
|
||||
## 2023-03-07
|
||||
|
||||
- Create a PostgreSQL 14 instance on my local environment to start testing compatibility with DSpace 6 as well as all my scripts:
|
||||
|
||||
```console
|
||||
$ podman pull docker.io/library/postgres:14-alpine
|
||||
$ podman run --name dspacedb14 -v dspacedb14_data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres:14-alpine
|
||||
$ createuser -h localhost -p 5432 -U postgres --pwprompt dspacetest
|
||||
$ createdb -h localhost -p 5432 -U postgres -O dspacetest --encoding=UNICODE dspacetest
|
||||
```
|
||||
|
||||
- Peter sent me a list of items that had ILRI affiation on Altmetric, but that didn't have Handles
|
||||
- I ran a duplicate check on them to find if they exist or if we can import them
|
||||
- There were about ninety matches, but a few dozen of those were pre-prints!
|
||||
- After excluding those there were about sixty-one items we already have on CGSpace so I will add their DOIs to the existing items
|
||||
- After joining these with the records from CGSpace and inspecting the DOIs I found that only forty-four were new DOIs
|
||||
- Surprisingly some of the DOIs on Altmetric were not working, though we also had some that were not working (specifically the Journal of Agricultural Economics seems to have reassigned DOIs)
|
||||
- An unscientific comparison of duplicate checking Peter's file with ~500 titles on PostgreSQL 12 and PostgreSQL 14:
|
||||
- PostgreSQL 12: `0.11s user 0.04s system 0% cpu 19:24.65 total`
|
||||
- PostgreSQL 14: `0.12s user 0.04s system 0% cpu 18:13.47 total`
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user