Update notes for 2016-05-19

This commit is contained in:
Alan Orth 2016-05-19 12:04:26 +03:00
parent e9e1dbc3d1
commit 30fbe72f0a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 18 additions and 1 deletions

View File

@ -157,3 +157,8 @@ value.replace('_','').replace('-','')
- We should move PN*, SG*, CBA, IA, and PHASE* values to `cg.identifier.cpwfproject` - We should move PN*, SG*, CBA, IA, and PHASE* values to `cg.identifier.cpwfproject`
- The rest, like BMGF and USAID etc, might have to go to either `dc.description.sponsorship` or `cg.identifier.fund` (not sure yet) - The rest, like BMGF and USAID etc, might have to go to either `dc.description.sponsorship` or `cg.identifier.fund` (not sure yet)
- There are also some mistakes in CPWF's things, like "PN 47" - There are also some mistakes in CPWF's things, like "PN 47"
- This ought to catch all the CPWF values (there don't appear to be and SG* values):
```
# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like 'PN%' or text_value like 'PHASE%' or text_value = 'CBA' or text_value = 'IA');
```

View File

@ -271,9 +271,13 @@ fi
<li>We should move PN<em>, SG</em>, CBA, IA, and PHASE* values to <code>cg.identifier.cpwfproject</code></li> <li>We should move PN<em>, SG</em>, CBA, IA, and PHASE* values to <code>cg.identifier.cpwfproject</code></li>
<li>The rest, like BMGF and USAID etc, might have to go to either <code>dc.description.sponsorship</code> or <code>cg.identifier.fund</code> (not sure yet)</li> <li>The rest, like BMGF and USAID etc, might have to go to either <code>dc.description.sponsorship</code> or <code>cg.identifier.fund</code> (not sure yet)</li>
<li>There are also some mistakes in CPWF&rsquo;s things, like &ldquo;PN 47&rdquo;</li> <li>There are also some mistakes in CPWF&rsquo;s things, like &ldquo;PN 47&rdquo;</li>
<li>This ought to catch all the CPWF values (there don&rsquo;t appear to be and SG* values):</li>
</ul></li> </ul></li>
</ul> </ul>
<pre><code># select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like 'PN%' or text_value like 'PHASE%' or text_value = 'CBA' or text_value = 'IA');
</code></pre>
</section> </section>
<footer> <footer>

View File

@ -209,8 +209,12 @@ fi
&lt;li&gt;We should move PN&lt;em&gt;, SG&lt;/em&gt;, CBA, IA, and PHASE* values to &lt;code&gt;cg.identifier.cpwfproject&lt;/code&gt;&lt;/li&gt; &lt;li&gt;We should move PN&lt;em&gt;, SG&lt;/em&gt;, CBA, IA, and PHASE* values to &lt;code&gt;cg.identifier.cpwfproject&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The rest, like BMGF and USAID etc, might have to go to either &lt;code&gt;dc.description.sponsorship&lt;/code&gt; or &lt;code&gt;cg.identifier.fund&lt;/code&gt; (not sure yet)&lt;/li&gt; &lt;li&gt;The rest, like BMGF and USAID etc, might have to go to either &lt;code&gt;dc.description.sponsorship&lt;/code&gt; or &lt;code&gt;cg.identifier.fund&lt;/code&gt; (not sure yet)&lt;/li&gt;
&lt;li&gt;There are also some mistakes in CPWF&amp;rsquo;s things, like &amp;ldquo;PN 47&amp;rdquo;&lt;/li&gt; &lt;li&gt;There are also some mistakes in CPWF&amp;rsquo;s things, like &amp;ldquo;PN 47&amp;rdquo;&lt;/li&gt;
&lt;li&gt;This ought to catch all the CPWF values (there don&amp;rsquo;t appear to be and SG* values):&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like &#39;PN%&#39; or text_value like &#39;PHASE%&#39; or text_value = &#39;CBA&#39; or text_value = &#39;IA&#39;);
&lt;/code&gt;&lt;/pre&gt;
</description> </description>
</item> </item>

View File

@ -209,8 +209,12 @@ fi
&lt;li&gt;We should move PN&lt;em&gt;, SG&lt;/em&gt;, CBA, IA, and PHASE* values to &lt;code&gt;cg.identifier.cpwfproject&lt;/code&gt;&lt;/li&gt; &lt;li&gt;We should move PN&lt;em&gt;, SG&lt;/em&gt;, CBA, IA, and PHASE* values to &lt;code&gt;cg.identifier.cpwfproject&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;The rest, like BMGF and USAID etc, might have to go to either &lt;code&gt;dc.description.sponsorship&lt;/code&gt; or &lt;code&gt;cg.identifier.fund&lt;/code&gt; (not sure yet)&lt;/li&gt; &lt;li&gt;The rest, like BMGF and USAID etc, might have to go to either &lt;code&gt;dc.description.sponsorship&lt;/code&gt; or &lt;code&gt;cg.identifier.fund&lt;/code&gt; (not sure yet)&lt;/li&gt;
&lt;li&gt;There are also some mistakes in CPWF&amp;rsquo;s things, like &amp;ldquo;PN 47&amp;rdquo;&lt;/li&gt; &lt;li&gt;There are also some mistakes in CPWF&amp;rsquo;s things, like &amp;ldquo;PN 47&amp;rdquo;&lt;/li&gt;
&lt;li&gt;This ought to catch all the CPWF values (there don&amp;rsquo;t appear to be and SG* values):&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like &#39;PN%&#39; or text_value like &#39;PHASE%&#39; or text_value = &#39;CBA&#39; or text_value = &#39;IA&#39;);
&lt;/code&gt;&lt;/pre&gt;
</description> </description>
</item> </item>