Skip to content

Instantly share code, notes, and snippets.

View chrzyki's full-sized avatar
👨‍💻
code data code data code

Christoph Rzymski chrzyki

👨‍💻
code data code data code
View GitHub Profile
@xflr6
xflr6 / languoids_csv.py
Last active January 8, 2022 14:08
Dump basic https://glottolog.org languoid info into CSV file
"""Dump basic https://glottolog.org languoid info to CSV file."""
import pandas as pd
ENGINE = 'postgresql://postgres@/glottolog3'
QUERY = '''
SELECT
l.id AS glottocode,
l.name,