Update notes for 2019-04-26

This commit is contained in:
Alan Orth 2019-04-26 12:16:02 +03:00
parent 929922f09e
commit 2ec01d7f04
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 31 additions and 13 deletions

View File

@ -985,4 +985,13 @@ dspace=# SELECT * FROM item WHERE item_id=74648;
- Communicate with Carlos Tejo from the Land Portal about the `/items/find-by-metadata-value` endpoint
- Run all system updates on DSpace Test (linode19) and reboot it
## 2019-04-26
- Export a list of authors for Peter to look through:
```
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;
COPY 65752
```
<!-- vim: set sw=2 ts=2: -->

View File

@ -14,7 +14,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-03/" />
<meta property="article:published_time" content="2018-03-02T16:07:54&#43;02:00"/>
<meta property="article:modified_time" content="2018-04-04T15:57:34&#43;03:00"/>
<meta property="article:modified_time" content="2019-04-26T12:13:02&#43;03:00"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="March, 2018"/>
@ -35,7 +35,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2018-03\/",
"wordCount": "2960",
"datePublished": "2018-03-02T16:07:54\x2b02:00",
"dateModified": "2018-04-04T15:57:34\x2b03:00",
"dateModified": "2019-04-26T12:13:02\x2b03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -510,8 +510,7 @@ UPDATE 195463
<li>Send Peter a list of all authors to correct:</li>
</ul>
<pre><code class="language-sql">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/authors.csv with csv header;
<pre><code class="language-sql">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/authors.csv with csv header;
COPY 56156
</code></pre>

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-25T23:06:39&#43;03:00"/>
<meta property="article:modified_time" content="2019-04-25T23:10:38&#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": "6309",
"wordCount": "6364",
"datePublished": "2019-04-01T09:00:43\x2b03:00",
"dateModified": "2019-04-25T23:06:39\x2b03:00",
"dateModified": "2019-04-25T23:10:38\x2b03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -1379,6 +1379,16 @@ $ curl -f -H &quot;rest-dspace-token: b43d41a6-5ac1-455d-b49a-616b8debc25b&quot;
<li>Run all system updates on DSpace Test (linode19) and reboot it</li>
</ul>
<h2 id="2019-04-26">2019-04-26</h2>
<ul>
<li>Export a list of authors for Peter to look through:</li>
</ul>
<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;
COPY 65752
</code></pre>
<!-- vim: set sw=2 ts=2: -->

View File

@ -4,30 +4,30 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2019-04/</loc>
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
<lastmod>2019-04-25T23:10:38+03:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
<priority>0</priority>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-04-25T23:06:39+03:00</lastmod>
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
<priority>0</priority>
</url>
@ -93,7 +93,7 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/2018-03/</loc>
<lastmod>2018-04-04T15:57:34+03:00</lastmod>
<lastmod>2019-04-26T12:13:02+03:00</lastmod>
</url>
<url>