mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-26 00:18:21 +01:00
Add notes for 2017-03-12
This commit is contained in:
parent
169a639d79
commit
7763594a25
@ -148,3 +148,18 @@ google.citation_doi = cg.identifier.doi
|
|||||||
dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
||||||
COPY 285
|
COPY 285
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 2017-03-12
|
||||||
|
|
||||||
|
- Test the sponsorship fixes and deletes from Peter:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./fix-metadata-values.py -i Investors-Fix-51.csv -f dc.description.sponsorship -t Action -m 29 -d dspace -u dspace -p fuuuu
|
||||||
|
$ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.sponsorship -m 29 -d dspace -u dspace -p fuuu
|
||||||
|
```
|
||||||
|
|
||||||
|
- Generate a new list of unique sponsors so we can update the controlled vocabulary:
|
||||||
|
|
||||||
|
```
|
||||||
|
dspace=# \copy (select distinct text_value from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship')) to /tmp/sponsorship.csv with csv;
|
||||||
|
```
|
||||||
|
@ -37,7 +37,7 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
|
|||||||
|
|
||||||
|
|
||||||
<meta property="article:published_time" content="2017-03-01T17:08:52+02:00"/>
|
<meta property="article:published_time" content="2017-03-01T17:08:52+02:00"/>
|
||||||
<meta property="article:modified_time" content="2017-03-08T16:08:47+02:00"/>
|
<meta property="article:modified_time" content="2017-03-09T14:29:50+02:00"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -94,13 +94,13 @@ $ identify ~/Desktop/alc_contrastes_desafios.jpg
|
|||||||
|
|
||||||
"headline": "March, 2017",
|
"headline": "March, 2017",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2017-03/",
|
"url": "https://alanorth.github.io/cgspace-notes/2017-03/",
|
||||||
"wordCount": "978",
|
"wordCount": "1059",
|
||||||
|
|
||||||
|
|
||||||
"datePublished": "2017-03-01T17:08:52+02:00",
|
"datePublished": "2017-03-01T17:08:52+02:00",
|
||||||
|
|
||||||
|
|
||||||
"dateModified": "2017-03-08T16:08:47+02:00",
|
"dateModified": "2017-03-09T14:29:50+02:00",
|
||||||
|
|
||||||
|
|
||||||
"author": {
|
"author": {
|
||||||
@ -342,6 +342,23 @@ DirectClass sRGB Alpha
|
|||||||
COPY 285
|
COPY 285
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="2017-03-12">2017-03-12</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Test the sponsorship fixes and deletes from Peter:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i Investors-Fix-51.csv -f dc.description.sponsorship -t Action -m 29 -d dspace -u dspace -p fuuuu
|
||||||
|
$ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.sponsorship -m 29 -d dspace -u dspace -p fuuu
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Generate a new list of unique sponsors so we can update the controlled vocabulary:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# \copy (select distinct text_value from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship')) to /tmp/sponsorship.csv with csv;
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -186,6 +186,23 @@ DirectClass sRGB Alpha
|
|||||||
|
|
||||||
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
||||||
COPY 285
|
COPY 285
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="2017-03-12">2017-03-12</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Test the sponsorship fixes and deletes from Peter:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i Investors-Fix-51.csv -f dc.description.sponsorship -t Action -m 29 -d dspace -u dspace -p fuuuu
|
||||||
|
$ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.sponsorship -m 29 -d dspace -u dspace -p fuuu
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Generate a new list of unique sponsors so we can update the controlled vocabulary:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# \copy (select distinct text_value from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship')) to /tmp/sponsorship.csv with csv;
|
||||||
</code></pre></description>
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -186,6 +186,23 @@ DirectClass sRGB Alpha
|
|||||||
|
|
||||||
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
||||||
COPY 285
|
COPY 285
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="2017-03-12">2017-03-12</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Test the sponsorship fixes and deletes from Peter:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i Investors-Fix-51.csv -f dc.description.sponsorship -t Action -m 29 -d dspace -u dspace -p fuuuu
|
||||||
|
$ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.sponsorship -m 29 -d dspace -u dspace -p fuuu
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Generate a new list of unique sponsors so we can update the controlled vocabulary:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# \copy (select distinct text_value from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship')) to /tmp/sponsorship.csv with csv;
|
||||||
</code></pre></description>
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2017-03/</loc>
|
||||||
<lastmod>2017-03-08T16:08:47+02:00</lastmod>
|
<lastmod>2017-03-09T14:29:50+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -88,19 +88,19 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2017-03-08T16:08:47+02:00</lastmod>
|
<lastmod>2017-03-09T14:29:50+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</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>2017-03-08T16:08:47+02:00</lastmod>
|
<lastmod>2017-03-09T14:29:50+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
||||||
<lastmod>2017-03-08T16:08:47+02:00</lastmod>
|
<lastmod>2017-03-09T14:29:50+02:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
@ -185,6 +185,23 @@ DirectClass sRGB Alpha
|
|||||||
|
|
||||||
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
<pre><code>dspace=# \copy (select text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship') group by text_value order by count desc) to /tmp/sponsorship.csv with csv;
|
||||||
COPY 285
|
COPY 285
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h2 id="2017-03-12">2017-03-12</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Test the sponsorship fixes and deletes from Peter:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ ./fix-metadata-values.py -i Investors-Fix-51.csv -f dc.description.sponsorship -t Action -m 29 -d dspace -u dspace -p fuuuu
|
||||||
|
$ ./delete-metadata-values.py -i Investors-Delete-121.csv -f dc.description.sponsorship -m 29 -d dspace -u dspace -p fuuu
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Generate a new list of unique sponsors so we can update the controlled vocabulary:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>dspace=# \copy (select distinct text_value from metadatavalue where resource_type_id=2 and metadata_field_id IN (select metadata_field_id from metadatafieldregistry where element = 'description' and qualifier = 'sponsorship')) to /tmp/sponsorship.csv with csv;
|
||||||
</code></pre></description>
|
</code></pre></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user