Skip to content

Commit bf1067e

Browse files
committed
towards first release
1 parent 5494b6f commit bf1067e

File tree

4 files changed

+54
-15
lines changed

4 files changed

+54
-15
lines changed

.zenodo.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@
1414
"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>",
1515
"license": {
1616
"id": "CC-BY-4.0"
17-
}
17+
},
18+
"communities": [
19+
{
20+
"identifier": "glottography"
21+
}
22+
]
1823
}

RELEASING.md

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,64 @@
11
# Releasing the dataset
22

3+
## Recreate the raw data from glottography-data
4+
35
In case of upstream changes in glottography-data:
46
```shell
57
cldfbench download cldfbench_walker2011bayesian.py
68
```
79

8-
```shell
9-
cldfbench makecldf cldfbench_walker2011bayesian.py --glottolog-version v5.1
10-
```
10+
## Recreate the CLDF data
1111

1212
```shell
13-
cldf validate cldf
14-
cldfbench geojson.validate cldf
13+
cldfbench makecldf cldfbench_walker2011bayesian.py --glottolog-version v5.2
14+
cldfbench cldfreadme cldfbench_walker2011bayesian.py
15+
cldfbench zenodo --communities glottography cldfbench_walker2011bayesian.py
16+
cldfbench readme cldfbench_walker2011bayesian.py
1517
```
1618

19+
## Validation
20+
1721
```shell
18-
cldfbench cldfreadme cldfbench_walker2011bayesian.py
22+
cldf validate cldf
1923
```
2024

2125
```shell
22-
cldfbench zenodo cldfbench_walker2011bayesian.py
26+
cldfbench geojson.validate cldf
2327
```
2428

2529
```shell
26-
cldfbench readme cldfbench_walker2011bayesian.py
30+
cldfbench geojson.glottolog_distance cldf --format pipe
2731
```
2832

29-
```shell
30-
cldfbench geojson.glottolog_distance cldf
31-
```
33+
| ID | Distance | Contained | NPolys |
34+
|:---------|-----------:|:------------|---------:|
35+
| acha1250 | 0.00 | True | 1 |
36+
| apur1254 | 0.00 | True | 3 |
37+
| araw1276 | 0.00 | False | 4 |
38+
| asha1243 | 0.00 | True | 1 |
39+
| bani1255 | 0.60 | False | 2 |
40+
| cabi1241 | 0.00 | True | 1 |
41+
| cham1318 | 0.00 | True | 1 |
42+
| curr1243 | 1.00 | False | 1 |
43+
| guar1293 | 0.36 | False | 1 |
44+
| igna1246 | 0.01 | False | 1 |
45+
| inap1242 | 0.06 | False | 1 |
46+
| mach1267 | 0.00 | True | 1 |
47+
| mand1448 | 0.00 | False | 4 |
48+
| mapi1252 | 0.80 | False | 1 |
49+
| mehi1240 | 0.05 | False | 1 |
50+
| noma1263 | 0.00 | True | 1 |
51+
| pali1279 | 0.00 | False | 2 |
52+
| para1316 | 0.00 | True | 1 |
53+
| pare1272 | 0.00 | True | 1 |
54+
| piap1246 | 0.00 | False | 2 |
55+
| resi1247 | 1.18 | False | 1 |
56+
| tari1256 | 0.10 | False | 2 |
57+
| tere1279 | 0.00 | True | 2 |
58+
| trin1274 | 0.00 | True | 1 |
59+
| wapi1253 | 0.00 | True | 2 |
60+
| waur1244 | 0.05 | False | 1 |
61+
| wayu1243 | 0.00 | True | 4 |
62+
| yane1238 | 0.00 | True | 1 |
63+
| yine1238 | 0.00 | True | 1 |
64+
| yucu1253 | 0.00 | True | 3 |

cldf/Generic-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
{
1818
"rdf:about": "https://github.com/Glottography/walker2011bayesian",
1919
"rdf:type": "prov:Entity",
20-
"dc:created": "5aa501b",
20+
"dc:created": "5494b6f",
2121
"dc:title": "Repository"
2222
},
2323
{
2424
"rdf:about": "https://github.com/glottolog/glottolog",
2525
"rdf:type": "prov:Entity",
26-
"dc:created": "v5.1",
26+
"dc:created": "v5.2",
2727
"dc:title": "Glottolog"
2828
}
2929
],

cldf/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ property | value
1515
[dc:license](http://purl.org/dc/terms/license) | https://creativecommons.org/licenses/by/4.0/
1616
[dc:spatial](http://purl.org/dc/terms/spatial) | westlimit=-75.9; southlimit=-22.3; eastlimit=-50.1; northlimit=12.5
1717
[dcat:accessURL](http://www.w3.org/ns/dcat#accessURL) | https://github.com/Glottography/walker2011bayesian
18-
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/Glottography/walker2011bayesian/tree/bec35d8">Glottography/walker2011bayesian bec35d8</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v5.1">Glottolog v5.1</a></li></ol>
18+
[prov:wasDerivedFrom](http://www.w3.org/ns/prov#wasDerivedFrom) | <ol><li><a href="https://github.com/Glottography/walker2011bayesian/tree/5494b6f">Glottography/walker2011bayesian 5494b6f</a></li><li><a href="https://github.com/glottolog/glottolog/tree/v5.2">Glottolog v5.2</a></li></ol>
1919
[prov:wasGeneratedBy](http://www.w3.org/ns/prov#wasGeneratedBy) | <ol><li><strong>python</strong>: 3.12.3</li><li><strong>python-packages</strong>: <a href="./requirements.txt">requirements.txt</a></li></ol>
2020
[rdf:ID](http://www.w3.org/1999/02/22-rdf-syntax-ns#ID) | walker2011bayesian
2121
[rdf:type](http://www.w3.org/1999/02/22-rdf-syntax-ns#type) | http://www.w3.org/ns/dcat#Distribution
@@ -84,6 +84,7 @@ Name/Property | Datatype | Description
8484
[Contributor](http://cldf.clld.org/v1.0/terms.rdf#contributor) | `string` |
8585
[Citation](http://cldf.clld.org/v1.0/terms.rdf#citation) | `string` |
8686
[Glottocode](http://cldf.clld.org/v1.0/terms.rdf#glottocode) | `string`<br>Regex: `[a-z0-9]{4}[1-9][0-9]{3}` | References a Glottolog languoid most closely matching the linguistic entity described by the feature.
87+
[Year](http://purl.org/dc/terms/temporal) | `string`<br>Regex: `[0-9]{3,4}|traditional` | The time period to which the feature relates, specified as year AD or with the keyword 'traditional', meaning either the time of contact with European maritime powers or period when an ancient language was spoken.
8788
[Source](http://cldf.clld.org/v1.0/terms.rdf#source) | list of `string` (separated by `;`) | References [sources.bib::BibTeX-key](./sources.bib)
8889
[Media_ID](http://cldf.clld.org/v1.0/terms.rdf#mediaReference) | `string` | Features are linked to GeoJSON files that store the geo data.<br>References [media.csv::ID](#table-mediacsv)
8990
`Map_Name` | `string` | Name of the map as given in the source publication.

0 commit comments

Comments
 (0)