Clone the dataset repos and install the dependencies:
git clone https://github.com/cldf-datasets/gramadapt gramadapt-cldf
pip install -e .[test]Recreate the CLDF data from the raw data
cldfbench makecldf cldfbench_gramadapt.py --glottolog-version v5.3 --with-cldfreadmeand make sure it's valid
pytest
cldf validate --with-cldf-markdown cldfRecreate the README and the rendered rationales:
cldfbench readme cldfbench_gramadapt.pyRecreate metadata for Zenodo:
cldfbench zenodo cldfbench_gramadapt.py --communities "gramadapt,cldf-datasets"Recreate the SQLite database:
rm -f gramadapt.sqlite
cldf createdb cldf gramadapt.sqliteOptional: Recreate the ERD of the database schema:
cldferd --format compact.svg cldf > erd.svgCreate plots to show the overall applicability of the questionnaire for the contact sets (see VALIDATION.md).
cldfbench gramadapt.binaryvalidity
cldfbench gramadapt.categoricalvalidity