Add notes for 2018-03-08

This commit is contained in:
Alan Orth 2018-03-08 21:10:16 +02:00
parent 79c025af88
commit ddd138cb59
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 29 additions and 8 deletions

View File

@ -118,3 +118,13 @@ if(isBlank(value), "Hernan Ceballos: 0000-0002-8744-7918", value + "||Hernan Ceb
- One thing that bothers me is that this won't honor author order - One thing that bothers me is that this won't honor author order
- It might be better to do batches of these in PostgreSQL with a script that takes the `place` column of an author into account when setting the `cg.creator.id` - It might be better to do batches of these in PostgreSQL with a script that takes the `place` column of an author into account when setting the `cg.creator.id`
- I wrote a Python script to read the author names and ORCID identifiers from CSV and create matching `cg.creator.id` fieldsa: [add-orcid-identifiers-csv.py ](https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050)
- The CSV should have two columns: author name and ORCID identifier:
```
dc.contributor.author,cg.creator.id
"Orth, Alan",Alan S. Orth: 0000-0002-1735-7458
"Orth, A.",Alan S. Orth: 0000-0002-1735-7458
```
- I didn't integrate the ORCID API lookup for author names in this script for now because I was only interested in "tagging" old items for a few given authors

View File

@ -20,7 +20,7 @@ Export a CSV of the IITA community metadata for Martin Mueller
<meta property="article:published_time" content="2018-03-02T16:07:54&#43;02:00"/> <meta property="article:published_time" content="2018-03-02T16:07:54&#43;02:00"/>
<meta property="article:modified_time" content="2018-03-08T15:05:29&#43;02:00"/> <meta property="article:modified_time" content="2018-03-08T17:32:38&#43;02:00"/>
@ -51,9 +51,9 @@ Export a CSV of the IITA community metadata for Martin Mueller
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "March, 2018", "headline": "March, 2018",
"url": "https://alanorth.github.io/cgspace-notes/2018-03/", "url": "https://alanorth.github.io/cgspace-notes/2018-03/",
"wordCount": "599", "wordCount": "671",
"datePublished": "2018-03-02T16:07:54&#43;02:00", "datePublished": "2018-03-02T16:07:54&#43;02:00",
"dateModified": "2018-03-08T15:05:29&#43;02:00", "dateModified": "2018-03-08T17:32:38&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -247,6 +247,17 @@ dspacetest=# select distinct text_lang from metadatavalue where resource_type_id
<ul> <ul>
<li>One thing that bothers me is that this won&rsquo;t honor author order</li> <li>One thing that bothers me is that this won&rsquo;t honor author order</li>
<li>It might be better to do batches of these in PostgreSQL with a script that takes the <code>place</code> column of an author into account when setting the <code>cg.creator.id</code></li> <li>It might be better to do batches of these in PostgreSQL with a script that takes the <code>place</code> column of an author into account when setting the <code>cg.creator.id</code></li>
<li>I wrote a Python script to read the author names and ORCID identifiers from CSV and create matching <code>cg.creator.id</code> fieldsa: <a href="https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050">add-orcid-identifiers-csv.py </a></li>
<li>The CSV should have two columns: author name and ORCID identifier:</li>
</ul>
<pre><code>dc.contributor.author,cg.creator.id
&quot;Orth, Alan&quot;,Alan S. Orth: 0000-0002-1735-7458
&quot;Orth, A.&quot;,Alan S. Orth: 0000-0002-1735-7458
</code></pre>
<ul>
<li>I didn&rsquo;t integrate the ORCID API lookup for author names in this script for now because I was only interested in &ldquo;tagging&rdquo; old items for a few given authors</li>
</ul> </ul>

View File

@ -4,7 +4,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2018-03/</loc> <loc>https://alanorth.github.io/cgspace-notes/2018-03/</loc>
<lastmod>2018-03-08T15:05:29+02:00</lastmod> <lastmod>2018-03-08T17:32:38+02:00</lastmod>
</url> </url>
<url> <url>
@ -154,7 +154,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2018-03-08T15:05:29+02:00</lastmod> <lastmod>2018-03-08T17:32:38+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -165,7 +165,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2018-03-08T15:05:29+02:00</lastmod> <lastmod>2018-03-08T17:32:38+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -177,13 +177,13 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc> <loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2018-03-08T15:05:29+02:00</lastmod> <lastmod>2018-03-08T17:32:38+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2018-03-08T15:05:29+02:00</lastmod> <lastmod>2018-03-08T17:32:38+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>