Skip to content

Commit

Permalink
first stab
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed Nov 22, 2024
1 parent bec35d8 commit 5aa501b
Show file tree
Hide file tree
Showing 26 changed files with 28,384 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/cldf-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CLDF-validation

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
pytest --cldf-metadata=cldf/Generic-metadata.json test.py
18 changes: 18 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"creators": [
{
"name": "The Glottography Consortium"
}
],
"title": "Glottography dataset derived from Walker and Ribeiro 2011 \"Bayesian Phylogeography of the Arawak Expansion in Lowland South America\"",
"access_right": "open",
"keywords": [
"cldf:Generic",
"linguistics"
],
"upload_type": "dataset",
"description": "<p>Cite the source of the dataset as:</p>\n\n<blockquote>\n<p>Walker, Robert S. &amp; Lincoln A. Ribeiro. 2011. Bayesian Phylogeography of the Arawak Expansion in Lowland South America. 278(1718). 2562\u20132567. doi: 10.1098/rspb.2010.2579. Royal Society.</p>\n</blockquote>",
"license": {
"id": "CC-BY-4.0"
}
}
5 changes: 5 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributors

name | role | github
--- |--------| ---
The Glottography Consortium | author |
396 changes: 396 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ If you use these data please cite
## Description


This dataset provides contemporary, non-overlapping speaker areas for Arawakan languages derived from figure S1 in the supplementary material for Walker & Ribeiro 2011. Languages for which only point locations are given in the source are omitted.

This dataset is licensed under a CC-BY-4.0 license


Expand All @@ -20,7 +22,7 @@ This dataset is licensed under a CC-BY-4.0 license
### Coverage

```geojson
{"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[-75.9, -22.3], [-75.9, 12.5], [-50.1, 12.5], [-50.1, -22.3], [-75.9, -22.3]]]}}
{"type": "Feature", "geometry": {"type": "Polygon", "coordinates": [[[-75.9, -22.3], [-75.9, 12.5], [-50.1, 12.5], [-50.1, -22.3], [-75.9, -22.3]]]}, "properties": {}}
```


Expand Down
26 changes: 26 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Releasing the dataset

In case of upstream changes in glottography-data:
```shell
cldfbench download cldfbench_walker2011bayesian.py
```

```shell
cldfbench makecldf cldfbench_walker2011bayesian.py --glottolog-version v5.1
```

```shell
cldf validate cldf
```

```shell
cldfbench cldfreadme cldfbench_walker2011bayesian.py
```

```shell
cldfbench zenodo cldfbench_walker2011bayesian.py
```

```shell
cldfbench readme cldfbench_walker2011bayesian.py
```
1 change: 1 addition & 0 deletions cldf/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.csv text eol=crlf
Loading

0 comments on commit 5aa501b

Please sign in to comment.