Add notes for 2017-03-12

This commit is contained in:
2017-03-12 13:22:16 +02:00
parent 169a639d79
commit 7763594a25
6 changed files with 90 additions and 7 deletions

View File

@ -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;
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;
```