clld / glottolog3

glottolog2 re-implemented as CLLD app
MIT License
110 stars 27 forks source link

use a custom query to create a more informative languoid.csv #80

Closed xflr6 closed 6 years ago

xflr6 commented 6 years ago

to test by creating only this download:

import sys

from clld.scripts.util import parsed_args
from clld.interfaces import IDownload

sys.argv = ['spam', 'development.ini']

args = parsed_args(bootstrap=True, description='spam')

csv = dict(args.env['registry'].getUtilitiesFor(IDownload))['languoid.csv']

csv.create(args.env['request'])
xflr6 commented 6 years ago

Not sure if we really want the newick column (at least Libreoffice seems to throw an error related to the maximal cell size).

xflr6 commented 6 years ago

Still something wrong with the iso639-3 column: let me take another look

xflr6 commented 6 years ago

Fixed.