mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-04 22:33:02 +01:00
Add notes for 2018-03-08
This commit is contained in:
parent
79c025af88
commit
ddd138cb59
@ -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
|
||||||
|
@ -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+02:00"/>
|
<meta property="article:published_time" content="2018-03-02T16:07:54+02:00"/>
|
||||||
|
|
||||||
<meta property="article:modified_time" content="2018-03-08T15:05:29+02:00"/>
|
<meta property="article:modified_time" content="2018-03-08T17:32:38+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+02:00",
|
"datePublished": "2018-03-02T16:07:54+02:00",
|
||||||
"dateModified": "2018-03-08T15:05:29+02:00",
|
"dateModified": "2018-03-08T17:32:38+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’t honor author order</li>
|
<li>One thing that bothers me is that this won’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
|
||||||
|
"Orth, Alan",Alan S. Orth: 0000-0002-1735-7458
|
||||||
|
"Orth, A.",Alan S. Orth: 0000-0002-1735-7458
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>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</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user