Add notes for 2019-05-27

This commit is contained in:
2019-05-27 12:06:48 +03:00
parent 48c14002d1
commit 9e2cca9df8
4 changed files with 65 additions and 13 deletions

View File

@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-04/" />
<meta property="article:published_time" content="2019-04-01T09:00:43&#43;03:00"/>
<meta property="article:modified_time" content="2019-04-30T11:39:09&#43;03:00"/>
<meta property="article:modified_time" content="2019-05-27T12:04:14&#43;03:00"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="April, 2019"/>
@ -81,9 +81,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace
"@type": "BlogPosting",
"headline": "April, 2019",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/",
"wordCount": "6800",
"wordCount": "6799",
"datePublished": "2019-04-01T09:00:43\x2b03:00",
"dateModified": "2019-04-30T11:39:09\x2b03:00",
"dateModified": "2019-05-27T12:04:14\x2b03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -1339,7 +1339,7 @@ item_id | submitter_id | in_archive | withdrawn | last_modified | o
<ul>
<li><p>Export a list of authors for Peter to look through:</p>
<pre><code>dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
<pre><code>dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
COPY 65752
</code></pre></li>
</ul>