Add notes for 2016-05-18

This commit is contained in:
2016-05-18 17:51:15 +03:00
parent fcdc3fdc0e
commit cbb7d63ef5
4 changed files with 65 additions and 0 deletions

View File

@ -129,3 +129,17 @@ fi
- dc.place → cg.place
- `dc.place` is our own field, so it's easy to move
- I've removed `dc.title.jtitle` from the list for now because there's no use moving it out of DC until we know where it will go (see discussion yesterday)
## 2016-05-18
- Work on 707 CCAFS records
- They have thumbnails on Flickr and elsewhere
- In OpenRefine I created a new `filename` column based on the `thumbnail` column with the following GREL:
```
if(cells['thumbnails'].value.contains('hqdefault'), cells['thumbnails'].value.split('/')[-2] + '.jpg', cells['thumbnails'].value.split('/')[-1])
```
- Because ~400 records had the same filename on Flickr (hqdefault.jpg) but different UUIDs in the URL
- So for the `hqdefault.jpg` ones I just take the UUID (-2) and use it as the filename
- Before importing with SAFBuilder I tested adding "__bundle:THUMBNAIL" to the `filename` column and it works fine