diff --git a/content/post/2017-01.md b/content/post/2017-01.md index 11123d3a4..e4c4deb5e 100644 --- a/content/post/2017-01.md +++ b/content/post/2017-01.md @@ -151,8 +151,7 @@ $ ./fix-metadata-values.py -i /tmp/fix-27-journal-titles.csv -f dc.source -t cor - Now get the top 500 journal titles: ``` -dspace-# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=55 group by text_value order by cou -nt desc limit 500) to /tmp/journal-titles.csv with csv; +dspace-# \copy (select distinct text_value, count(*) from metadatavalue where resource_type_id=2 and metadata_field_id=55 group by text_value order by count desc limit 500) to /tmp/journal-titles.csv with csv; ``` - The values are a bit dirty and outdated, since the file I had given to Abenet and Peter was from November