Run CLDF validation:
cldf validate cldf
Make sure the dataset can be loaded into SQLite:
rm -f laotpa.sqlite
cldf createdb cldf laotpa.sqlite
The following three cldfbench
sub-commands will re-create data tables as CSV files in etc and corresponding
figures - unless run with the --plot-only
option, in which case the existing data will be used and
only the plot will be recreated.
Running these commands requires "installing" the dataset via pip install -e .
, to install cldfbench
and register the subcommands.
-
Polygons not intersecting with landmasses:
cldfbench laotpa.landmass_distance -h cldfbench laotpa.landmass_distance
-
Distance between shapes and point coordinate of corresponding Glottolog language:
cldfbench laotpa.glottolog_distance -h cldfbench laotpa.glottolog_distance
-
Spread of polygons for MultiPolygon shapes:
cldfbench laotpa.multipolygon_spread -h cldfbench laotpa.multipolygon_spread