From 7363c63a9c23a272182ccbb77669d1773c94ae23 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 18 May 2016 17:51:47 +0300 Subject: [PATCH] Fix notes for 2016-02-16 --- content/2016-02.md | 1 - public/2016-02/index.html | 1 - public/index.xml | 1 - public/tags/notes/index.xml | 1 - 4 files changed, 4 deletions(-) diff --git a/content/2016-02.md b/content/2016-02.md index e2fe5f20f..db7051318 100644 --- a/content/2016-02.md +++ b/content/2016-02.md @@ -220,7 +220,6 @@ value.unescape("url") - To merge `dc.identifier.url` and `dc.identifier.url[]`, rename the second column so it doesn't have the brackets, like `dc.identifier.url2` - Then you create a facet for blank values on each column, show the rows that have values for one and not the other, then transform each independently to have the contents of the other, with "||" in between - Work on Python script for parsing and downloading PDF records from `dc.identifier.url` -- To turn `dc.identifier.url` into filenames, create a new column based o - To get filenames from `dc.identifier.url`, create a new column based on this transform: `forEach(value.split('||'), v, v.split('/')[-1]).join('||')` - This also works for records that have multiple URLs (separated by "||") diff --git a/public/2016-02/index.html b/public/2016-02/index.html index 658aa4325..1136c7efa 100644 --- a/public/2016-02/index.html +++ b/public/2016-02/index.html @@ -325,7 +325,6 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_
  • To merge dc.identifier.url and dc.identifier.url[], rename the second column so it doesn’t have the brackets, like dc.identifier.url2
  • Then you create a facet for blank values on each column, show the rows that have values for one and not the other, then transform each independently to have the contents of the other, with “||” in between
  • Work on Python script for parsing and downloading PDF records from dc.identifier.url
  • -
  • To turn dc.identifier.url into filenames, create a new column based o
  • To get filenames from dc.identifier.url, create a new column based on this transform: forEach(value.split('||'), v, v.split('/')[-1]).join('||')
  • This also works for records that have multiple URLs (separated by “||”)
  • diff --git a/public/index.xml b/public/index.xml index 7e969c65c..e2ad0c8a9 100644 --- a/public/index.xml +++ b/public/index.xml @@ -1157,7 +1157,6 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_ <li>To merge <code>dc.identifier.url</code> and <code>dc.identifier.url[]</code>, rename the second column so it doesn&rsquo;t have the brackets, like <code>dc.identifier.url2</code></li> <li>Then you create a facet for blank values on each column, show the rows that have values for one and not the other, then transform each independently to have the contents of the other, with &ldquo;||&rdquo; in between</li> <li>Work on Python script for parsing and downloading PDF records from <code>dc.identifier.url</code></li> -<li>To turn <code>dc.identifier.url</code> into filenames, create a new column based o</li> <li>To get filenames from <code>dc.identifier.url</code>, create a new column based on this transform: <code>forEach(value.split('||'), v, v.split('/')[-1]).join('||')</code></li> <li>This also works for records that have multiple URLs (separated by &ldquo;||&rdquo;)</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index c57f15345..83fbb1d67 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -1157,7 +1157,6 @@ CIAT_COLOMBIA_000169_Técnicas_para_el_aislamiento_y_cultivo_de_protoplastos_de_ <li>To merge <code>dc.identifier.url</code> and <code>dc.identifier.url[]</code>, rename the second column so it doesn&rsquo;t have the brackets, like <code>dc.identifier.url2</code></li> <li>Then you create a facet for blank values on each column, show the rows that have values for one and not the other, then transform each independently to have the contents of the other, with &ldquo;||&rdquo; in between</li> <li>Work on Python script for parsing and downloading PDF records from <code>dc.identifier.url</code></li> -<li>To turn <code>dc.identifier.url</code> into filenames, create a new column based o</li> <li>To get filenames from <code>dc.identifier.url</code>, create a new column based on this transform: <code>forEach(value.split('||'), v, v.split('/')[-1]).join('||')</code></li> <li>This also works for records that have multiple URLs (separated by &ldquo;||&rdquo;)</li> </ul>