Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.04 KB

File metadata and controls

44 lines (37 loc) · 1.04 KB

Releasing GramAdapt

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-cldfreadme

and make sure it's valid

pytest
cldf validate --with-cldf-markdown cldf

Recreate the README and the rendered rationales:

cldfbench readme cldfbench_gramadapt.py

Recreate metadata for Zenodo:

cldfbench zenodo cldfbench_gramadapt.py --communities "gramadapt,cldf-datasets"

Recreate the SQLite database:

rm -f gramadapt.sqlite
cldf createdb cldf gramadapt.sqlite

Optional: Recreate the ERD of the database schema:

cldferd --format compact.svg cldf > erd.svg

Create plots to show the overall applicability of the questionnaire for the contact sets (see VALIDATION.md).

cldfbench gramadapt.binaryvalidity
cldfbench gramadapt.categoricalvalidity