<li>Merge the <ahref="https://github.com/ilri/DSpace/pull/425">Solr filterCache</a> and <ahref="https://github.com/ilri/DSpace/pull/426">XMLUI ISI journal</a> changes to the <code>5_x-prod</code> branch and deploy on CGSpace</li>
<li>Run system updates on CGSpace (linode18) and reboot it</li>
<li>Marie agreed that we need to adopt some controlled lists for our values, and pointed out that the MARLO team maintains a list of CRPs and Centers at <ahref="https://clarisa.cgiar.org/">CLARISA</a>
<ul>
<li>There is an API there but it needs a password for access…</li>
</ul></li>
</ul>
<h2id="2019-06-04">2019-06-04</h2>
<ul>
<li>The MARLO team responded and said they will give us access to the CLARISA API</li>
<li>Marie-Angélique <ahref="https://github.com/AgriculturalSemantics/cg-core/pull/1">proposed</a> to integrate <code>dcterms.isPartOf</code>, <code>dcterms.abstract</code>, and <code>dcterms.bibliographicCitation</code> into the CG Core v2 schema
<ul>
<li>I told her I would attempt to integrate those and the others above into DSpace Test soon and report back</li>
<li>We also need to discuss with the ILRI Data Portal, MEL/MELSpace, and users who consume the CGSpace API</li>
</ul></li>
<li>Add Arabic language to input-forms.xml (<ahref="https://github.com/ilri/DSpace/pull/427">#427</a>), as Bioversity is adding some Arabic items and noticed it missing</li>
</ul>
<h2id="2019-06-05">2019-06-05</h2>
<ul>
<li>Send mail to CGSpace and MELSpace people to let them know about the proposed metadata field migrations after the discussion with Marie-Angélique</li>
</ul>
<h2id="2019-06-07">2019-06-07</h2>
<ul>
<li><p>Thierry noticed that the CUA statistics were missing previous years again, and I see that the Solr admin UI has the following message:</p>
<pre><code>statistics-2018: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error opening new searcher
</code></pre></li>
<li><p>I had to restart Tomcat a few times for all the stats cores to get loaded with no issue</p></li>
</ul>
<h2id="2019-06-10">2019-06-10</h2>
<ul>
<li>Rename the AReS repository on GitHub to OpenRXV: <ahref="https://github.com/ilri/OpenRXV">https://github.com/ilri/OpenRXV</a></li>
<li>Create a new AReS repository: <ahref="https://github.com/ilri/AReS">https://github.com/ilri/AReS</a></li>
<li>Start looking at the 203 IITA records on DSpace Test from last month (<ahref="https://dspacetest.cgiar.org/handle/10568/102032">IITA_May_16</a> aka “20194th.xls”) using OpenRefine
<ul>
<li>Trim leading, trailing, and consecutive whitespace on all columns, but I didn’t notice very many issues</li>
<li>Validate affiliations against latest list of top 1500 terms using reconcile-csv, correcting and standardizing about twenty-seven</li>
<li>Validate countries against latest list of countries using reconcile-csv, correcting three</li>
<li>Convert all DOIs to “<ahref="https://dx.doi.org"">https://dx.doi.org"</a> format</li>
<li>Normalize all <code>cg.identifier.url</code> Google book fields to “books.google.com”</li>
<li>Correct some inconsistencies in IITA subjects</li>
<li>Correct two incorrect “Peer Review” in <code>dc.description.version</code></li>
<li>About fifteen items have incorrect ISBNs (looks like an Excel error because the values look like scientific numbers)</li>
<li>Delete one blank item</li>
<li>I managed to get to subjects, so I’ll continue from there when I start working next</li>
</ul></li>
<li><p>Generate a new list of countries from the database for use with reconcile-csv</p>
<ul>
<li><p>After dumping, use csvcut to add line numbers, then change the csv header to match those you use in reconcile-csv, for example <code>id</code> and <code>name</code>:</p>
<pre><code>dspace=# \COPY (SELECT DISTINCT text_value, count(*) FROM metadatavalue WHERE metadata_field_id = 228 AND resource_type_id = 2 GROUP BY text_value ORDER BY count DESC) to /tmp/countries.csv WITH CSV HEADER
<li><p>Get a list of all the unique AGROVOC subject terms in IITA’s data and export it to a text file so I can validate them with my <code>agrovoc-lookup.py</code> script:</p>
<li><p>Normalize <code>text_lang</code> values for metadata on DSpace Test and CGSpace:</p>
<pre><code>dspace=# UPDATE metadatavalue SET text_lang='en_US' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IN ('ethnob', 'en', '*', 'E.', '');
UPDATE 1551
dspace=# UPDATE metadatavalue SET text_lang='en_US' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IS NULL;
UPDATE 2070
dspace=# UPDATE metadatavalue SET text_lang='es_ES' WHERE resource_type_id=2 AND metadata_field_id != 28 AND text_lang IN ('es', 'spa');
UPDATE 2
</code></pre></li>
<li><p>Upload 202 IITA records from earlier this month (20194th.xls) to CGSpace</p></li>
<li><p>Communicate with Bioversity contractor in charge of their migration from Typo3 to CGSpace</p></li>
</ul>
<h2id="2019-06-28">2019-06-28</h2>
<ul>
<li>Start looking at the fifty-seven AfricaRice records sent by Ibnou earlier this month
<ul>
<li>First, I see there are several items with type “Book” and “Book Chapter” should go in an “AfricaRice books and book chapters” collection, but none exists in the AfricaRice community</li>
<li>Trim and collapse consecutive whitespace on author, affiliation, authorship types, title, subjects, doi, issn, source, citation, country, sponsors</li>
<li>Standardize and correct affiliations like “Africa Rice Cente” and “Africa Rice Centre”, including syntax errors with multi-value separators</li>
<li>Lots of variation in affiliations, for example:</li>
<li>Université Abomey-Calavi</li>
<li>Université d’Abomey</li>
<li>Université d’Abomey Calavi</li>
<li>Université d’Abomey-Calavi</li>
<li>University of Abomey-Calavi</li>
<li>Validate and normalize affiliations against our 2019-04 list using reconcile-csv and OpenRefine:</li>
<li><code>$ lein run ~/src/git/DSpace/2019-04-08-affiliations.csv name id</code></li>
<li>I always forget how to copy the reconciled values in OpenRefine, but you need to make a new colume and populate it using this GREL: <code>if(cell.recon.matched, cell.recon.match.name, value)</code></li>
<li>Replace smart quotes with standard ASCII ones</li>
<li>Fix typos in authoriship types</li>
<li>Validate and normalize subjects against our 2019-06 list using reconcile-csv and OpenRefine:</li>
<li><code>$ lein run ~/src/git/DSpace/2019-06-10-subjects-matched.csv name id</code></li>
<li>Also add about 30 new AGROVOC subjects to our list that I verified manually</li>
<li>There is one duplicate, both have the same DOI: <ahref="https://doi.org/10.1016/j.agwat.2018.06.018">https://doi.org/10.1016/j.agwat.2018.06.018</a></li>
<li>Fix four ISBNs that were in the ISSN field</li>