Esempio n. 1
0
def download(dataset):
    with TemporaryDirectory() as tmpdir:
        urlretrieve(
            'http://www.evolution.reading.ac.uk/Files/%s.zip' % NAME,
            tmpdir.joinpath('gbd.zip').as_posix())
        with ZipFile(tmpdir.joinpath('gbd.zip').as_posix()) as zip:
            zip.extract(NAME + '.xlsx', tmpdir.as_posix())
        xls2csv(tmpdir.joinpath(NAME + '.xlsx'), outdir=dataset.raw)
Esempio n. 2
0
def download(dataset):
    with TemporaryDirectory() as tmpdir:
        urlretrieve(URL, tmpdir.joinpath('ds.xlsm').as_posix())
        xls2csv(tmpdir.joinpath('ds.xlsm'), outdir=dataset.raw)
Esempio n. 3
0
def download(dataset):
    xls2csv(dataset.raw.joinpath('numeral_010316.xlsx'), outdir=dataset.raw)
Esempio n. 4
0
def download(dataset):
    xls2csv(dataset.raw.joinpath('Semitic.Wordlists.xls'), outdir=dataset.raw)
    xls2csv(dataset.raw.joinpath('Semitic.Codings.Multistate.xlsx'),
            outdir=dataset.raw)
Esempio n. 5
0
def download(dataset, **kw):
    xls2csv(dataset.raw.joinpath('100item-phylo.xlsx'))
Esempio n. 6
0
def download(dataset):
    xls2csv(dataset.raw.joinpath('AinuHattoriChiri.xlsx'), outdir=dataset.raw)
Esempio n. 7
0
def download(dataset):
    xls2csv(dataset.raw.joinpath('supplementary.xlsx'), outdir=dataset.raw)
    xls2csv(dataset.raw.joinpath('Japonic_recovered.xlsx'), outdir=dataset.raw)