diff --git a/content/posts/2019-04.md b/content/posts/2019-04.md index 704984252..828e5aec4 100644 --- a/content/posts/2019-04.md +++ b/content/posts/2019-04.md @@ -985,4 +985,13 @@ dspace=# SELECT * FROM item WHERE item_id=74648; - Communicate with Carlos Tejo from the Land Portal about the `/items/find-by-metadata-value` endpoint - Run all system updates on DSpace Test (linode19) and reboot it +## 2019-04-26 + +- Export a list of authors for Peter to look through: + +``` +dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header; +COPY 65752 +``` + diff --git a/docs/2018-03/index.html b/docs/2018-03/index.html index edcc5aa8f..40058f4c6 100644 --- a/docs/2018-03/index.html +++ b/docs/2018-03/index.html @@ -14,7 +14,7 @@ Export a CSV of the IITA community metadata for Martin Mueller - + @@ -35,7 +35,7 @@ Export a CSV of the IITA community metadata for Martin Mueller "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2018-03\/", "wordCount": "2960", "datePublished": "2018-03-02T16:07:54\x2b02:00", - "dateModified": "2018-04-04T15:57:34\x2b03:00", + "dateModified": "2019-04-26T12:13:02\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -510,8 +510,7 @@ UPDATE 195463
  • Send Peter a list of all authors to correct:
  • -
    dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element
    -= 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv header;
    +
    dspace=# \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/authors.csv with csv header;
     COPY 56156
     
    diff --git a/docs/2019-04/index.html b/docs/2019-04/index.html index 6fef74084..9ccede4b7 100644 --- a/docs/2019-04/index.html +++ b/docs/2019-04/index.html @@ -38,7 +38,7 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace - + @@ -81,9 +81,9 @@ $ ./delete-metadata-values.py -i /tmp/2019-02-21-delete-1-region.csv -db dspace "@type": "BlogPosting", "headline": "April, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-04\/", - "wordCount": "6309", + "wordCount": "6364", "datePublished": "2019-04-01T09:00:43\x2b03:00", - "dateModified": "2019-04-25T23:06:39\x2b03:00", + "dateModified": "2019-04-25T23:10:38\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1379,6 +1379,16 @@ $ curl -f -H "rest-dspace-token: b43d41a6-5ac1-455d-b49a-616b8debc25b"
  • Run all system updates on DSpace Test (linode19) and reboot it
  • +

    2019-04-26

    + + + +
    dspacetest=# # \copy (select distinct text_value, count(*) as count from metadatavalue where metadata_field_id = (select metadata_field_id from metadatafieldregistry where element = 'contributor' and qualifier = 'author') AND resource_type_id = 2 group by text_value order by count desc) to /tmp/2019-04-26-all-authors.csv with csv header;
    +COPY 65752
    +
    + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index abced450e..fdb8a0858 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,30 +4,30 @@ https://alanorth.github.io/cgspace-notes/2019-04/ - 2019-04-25T23:06:39+03:00 + 2019-04-25T23:10:38+03:00 https://alanorth.github.io/cgspace-notes/ - 2019-04-25T23:06:39+03:00 + 2019-04-26T12:13:02+03:00 0 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-04-25T23:06:39+03:00 + 2019-04-26T12:13:02+03:00 0 https://alanorth.github.io/cgspace-notes/posts/ - 2019-04-25T23:06:39+03:00 + 2019-04-26T12:13:02+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-04-25T23:06:39+03:00 + 2019-04-26T12:13:02+03:00 0 @@ -93,7 +93,7 @@ https://alanorth.github.io/cgspace-notes/2018-03/ - 2018-04-04T15:57:34+03:00 + 2019-04-26T12:13:02+03:00