Add notes for 2019-07-26

This commit is contained in:
Alan Orth 2019-07-26 18:49:38 +03:00
parent cec7499c76
commit 3498639483
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 42 additions and 8 deletions

View File

@ -372,4 +372,19 @@ isbn.validate('978-92-9043-389-7')
issn.validate('1020-3362') issn.validate('1020-3362')
``` ```
## 2019-07-26
- Bioversity sent me an updated CSV file that fixes some of the issues I pointed out yesterday
- There are still 1429 records
- There are still one extra row and one extra column
- There are still eight invalid ISBNs (according to my `validate.py` script)
- I figured out a GREL to trim spaces in multi-value cells without splitting them:
```
value.replace(/\s+\|\|/,"||").replace(/\|\|\s+/,"||")
```
- I whipped up a quick script using Python Pandas to do whitespace cleanup
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -21,7 +21,7 @@ Abenet had another similar issue a few days ago when trying to find the stats fo
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-07/" /> <meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-07/" />
<meta property="article:published_time" content="2019-07-01T12:13:51&#43;03:00"/> <meta property="article:published_time" content="2019-07-01T12:13:51&#43;03:00"/>
<meta property="article:modified_time" content="2019-07-22T15:54:32&#43;03:00"/> <meta property="article:modified_time" content="2019-07-25T16:58:23&#43;03:00"/>
<meta name="twitter:card" content="summary"/> <meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="July, 2019"/> <meta name="twitter:title" content="July, 2019"/>
@ -47,9 +47,9 @@ Abenet had another similar issue a few days ago when trying to find the stats fo
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "July, 2019", "headline": "July, 2019",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-07\/", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-07\/",
"wordCount": "2119", "wordCount": "2191",
"datePublished": "2019-07-01T12:13:51\x2b03:00", "datePublished": "2019-07-01T12:13:51\x2b03:00",
"dateModified": "2019-07-22T15:54:32\x2b03:00", "dateModified": "2019-07-25T16:58:23\x2b03:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -561,6 +561,25 @@ issn.validate('1020-3362')
</code></pre></li> </code></pre></li>
</ul> </ul>
<h2 id="2019-07-26">2019-07-26</h2>
<ul>
<li><p>Bioversity sent me an updated CSV file that fixes some of the issues I pointed out yesterday</p>
<ul>
<li>There are still 1429 records</li>
<li>There are still one extra row and one extra column</li>
<li>There are still eight invalid ISBNs (according to my <code>validate.py</code> script)</li>
</ul></li>
<li><p>I figured out a GREL to trim spaces in multi-value cells without splitting them:</p>
<pre><code>value.replace(/\s+\|\|/,&quot;||&quot;).replace(/\|\|\s+/,&quot;||&quot;)
</code></pre></li>
<li><p>I whipped up a quick script using Python Pandas to do whitespace cleanup</p></li>
</ul>
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -4,30 +4,30 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-07-22T15:54:32+03:00</lastmod> <lastmod>2019-07-25T16:58:23+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2019-07/</loc> <loc>https://alanorth.github.io/cgspace-notes/2019-07/</loc>
<lastmod>2019-07-22T15:54:32+03:00</lastmod> <lastmod>2019-07-25T16:58:23+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-07-22T15:54:32+03:00</lastmod> <lastmod>2019-07-25T16:58:23+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc> <loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-07-22T15:54:32+03:00</lastmod> <lastmod>2019-07-25T16:58:23+03: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>2019-07-22T15:54:32+03:00</lastmod> <lastmod>2019-07-25T16:58:23+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>