Add notes for 2019-12-18

This commit is contained in:
Alan Orth 2019-12-18 11:41:55 +02:00
parent 9b6d328e51
commit 8622776049
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 23 additions and 8 deletions

View File

@ -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
```
<!-- vim: set sw=2 ts=2: -->

View File

@ -24,7 +24,7 @@ Make sure all packages are up to date and the package manager is up to date, the
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-12/" />
<meta property="article:published_time" content="2019-12-01T11:22:30+02:00" />
<meta property="article:modified_time" content="2019-12-17T14:49:24+02:00" />
<meta property="article:modified_time" content="2019-12-17T16:45:21+02:00" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="December, 2019"/>
@ -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
</ul>
<pre><code>dspace=# \COPY (SELECT DISTINCT text_value as &quot;dc.contributor.sponsor&quot;, 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
</code></pre><h2 id="2019-12-18">2019-12-18</h2>
<ul>
<li>Apply the investor corrections and deletions from Peter on CGSpace:</li>
</ul>
<pre><code>$ ./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
</code></pre><!-- raw HTML omitted -->

View File

@ -4,27 +4,27 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/2019-12/</loc>
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-12-17T14:49:24+02:00</lastmod>
<lastmod>2019-12-17T16:45:21+02:00</lastmod>
</url>
<url>