mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2024-03-19
This commit is contained in:
@ -19,7 +19,7 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2024-03/" />
|
||||
<meta property="article:published_time" content="2024-03-01T09:55:00+03:00" />
|
||||
<meta property="article:modified_time" content="2024-03-14T09:29:05+03:00" />
|
||||
<meta property="article:modified_time" content="2024-03-19T09:01:13+03:00" />
|
||||
|
||||
|
||||
|
||||
@ -44,9 +44,9 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
"@type": "BlogPosting",
|
||||
"headline": "March, 2024",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2024-03/",
|
||||
"wordCount": "923",
|
||||
"wordCount": "1028",
|
||||
"datePublished": "2024-03-01T09:55:00+03:00",
|
||||
"dateModified": "2024-03-14T09:29:05+03:00",
|
||||
"dateModified": "2024-03-19T09:01:13+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -285,7 +285,23 @@ It might be this issue: https://github.com/DSpace/dspace-angular/issues/2808
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>I finalized the remaining two on Inkomati catchment and now we are at 900!</li>
|
||||
</ul>
|
||||
<!-- raw HTML omitted -->
|
||||
<h1 id="2024-03-19">2024-03-19</h1>
|
||||
<ul>
|
||||
<li>IWMI sent me some new author ORCID identifiers so I updated our list</li>
|
||||
<li>Started working on updating my data for the Ontology CoP webinar on CGIAR and AGROVOC
|
||||
<ul>
|
||||
<li>First extracting all unique subjects on CGSpace:</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<pre tabindex="0"><code>localhost/dspace7= ☘ \COPY (SELECT DISTINCT(lower(text_value)) AS "subject" FROM metadatavalue WHERE dspace_object_id in (SELECT dspace_object_id FROM item) AND metadata_field_id IN (187, 120, 210, 122, 215, 127, 208, 124, 128, 123, 125, 135, 203, 236, 238, 119)) to /tmp/2024-03-19-cgspace-subjects.csv WITH CSV HEADER;
|
||||
COPY 28024
|
||||
</code></pre><ul>
|
||||
<li>Then I extracted the subjects and looked them up against AGROVOC:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-console" data-lang="console"><span style="display:flex;"><span>$ csvcut -c subject /tmp/2024-03-19-cgspace-subjects.csv | sed <span style="color:#e6db74">'1d'</span> > /tmp/2024-03-19-cgspace-subjects.txt
|
||||
</span></span><span style="display:flex;"><span>$ ./ilri/agrovoc_lookup.py -i /tmp/2024-03-19-cgspace-subjects.txt -o /tmp/2024-03-19-cgspace-subjects-results.csv
|
||||
</span></span></code></pre></div><!-- raw HTML omitted -->
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user