diff --git a/content/posts/2019-12.md b/content/posts/2019-12.md index 3e3609cd8..f815d06f4 100644 --- a/content/posts/2019-12.md +++ b/content/posts/2019-12.md @@ -140,4 +140,13 @@ dspace=# \COPY (SELECT DISTINCT text_value as "dc.contributor.sponsor", count(*) COPY 643 ``` +## 2019-12-18 + +- Apply the investor corrections and deletions from Peter on CGSpace: + +``` +$ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 -t correct -d +$ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d +``` + diff --git a/docs/2019-12/index.html b/docs/2019-12/index.html index 2bf0ec90e..40b1e2a52 100644 --- a/docs/2019-12/index.html +++ b/docs/2019-12/index.html @@ -24,7 +24,7 @@ Make sure all packages are up to date and the package manager is up to date, the - + @@ -53,9 +53,9 @@ Make sure all packages are up to date and the package manager is up to date, the "@type": "BlogPosting", "headline": "December, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-12\/", - "wordCount": "928", + "wordCount": "971", "datePublished": "2019-12-01T11:22:30+02:00", - "dateModified": "2019-12-17T14:49:24+02:00", + "dateModified": "2019-12-17T16:45:21+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -282,6 +282,12 @@ COPY 48
dspace=# \COPY (SELECT DISTINCT text_value as "dc.contributor.sponsor", count(*) FROM metadatavalue WHERE resource_type_id = 2 AND metadata_field_id = 29 GROUP BY text_value ORDER BY count DESC LIMIT 1500) to /tmp/2019-12-17-investors.csv WITH CSV HEADER;
 COPY 643
+

2019-12-18

+ +
$ ./fix-metadata-values.py -i /tmp/2019-12-17-investors-fix-112.csv -db dspace -u dspace -p 'fuuu' -f dc.description.sponsorship -m 29 -t correct -d
+$ ./delete-metadata-values.py -i /tmp/2019-12-17-investors-delete-68.csv -db dspace -u dspace -p 'fuuu' -m 29 -f dc.description.sponsorship -d
 
diff --git a/docs/sitemap.xml b/docs/sitemap.xml index f85f5aaeb..11435ec81 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2019-12-17T14:49:24+02:00 + 2019-12-17T16:45:21+02:00 https://alanorth.github.io/cgspace-notes/ - 2019-12-17T14:49:24+02:00 + 2019-12-17T16:45:21+02:00 https://alanorth.github.io/cgspace-notes/2019-12/ - 2019-12-17T14:49:24+02:00 + 2019-12-17T16:45:21+02:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2019-12-17T14:49:24+02:00 + 2019-12-17T16:45:21+02:00 https://alanorth.github.io/cgspace-notes/posts/ - 2019-12-17T14:49:24+02:00 + 2019-12-17T16:45:21+02:00