-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpaths-table-schema.json
More file actions
88 lines (88 loc) · 3.2 KB
/
Copy pathpaths-table-schema.json
File metadata and controls
88 lines (88 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "paths",
"title": "Paths",
"description": "A GeoPressureR `path` contains positions along a bird trajectory.\n\n{:.alert .alert-info}\nIn GeoPressureR, there are 4 path types: `tag`, `most_likely`, `simulation`, and `geopressureviz`. See [`paths.type`](#type) for more details.\n\n`path` should always be used in combination with [`staps`](/GeoLocator-DP/geopressurer/staps), joined by the composite key (`tag_id`, `stap_id`).",
"$schema": "https://datapackage.org/profiles/2.0/tableschema.json",
"fields": [
{
"name": "tag_id",
"description": "Unique identifier of the tag. Foreign key to [`tags.tag_id`](/GeoLocator-DP/core/tags#tag_id).",
"type": "string",
"constraints": {
"required": true
},
"example": "18LX"
},
{
"name": "type",
"description": "One of:\n - `tag`: Created with [`tag2path()`](https://geopressure.com/GeoPressureR/reference/tag2path) from a likelihood map.\n - `most_likely`: Created with [`graph_most_likely()`](https://geopressure.com/GeoPressureR/reference/graph_most_likely.html).\n - `simulation`: Created by [`graph_simulation()`](https://geopressure.com/GeoPressureR/reference/graph_simulation).\n - `geopressureviz`: Created by [`geopressureviz()`](https://geopressure.com/GeoPressureR/reference/geopressureviz).",
"type": "string",
"constraints": {
"required": true,
"enum": ["tag", "most_likely", "simulation", "geopressureviz"]
},
"example": "most_likely"
},
{
"name": "stap_id",
"description": "Identifier of the stationary period. Together with [`tag_id`](#tag_id), this forms a foreign key to [`staps`](/GeoLocator-DP/geopressurer/staps) (`tag_id`, `stap_id`).",
"type": "number",
"constraints": {
"required": true
},
"example": "3"
},
{
"name": "lat",
"description": "Latitude of the stationary period.",
"type": "number",
"constraints": {
"required": false,
"minimum": -90,
"maximum": 90
},
"example": "52.70442",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/decimalLatitude"
},
{
"name": "lon",
"description": "Longitude of the stationary period.",
"type": "number",
"constraints": {
"required": false,
"minimum": -180,
"maximum": 180
},
"example": "23.84995",
"skos:exactMatch": "http://rs.tdwg.org/dwc/terms/decimalLongitude"
},
{
"name": "j",
"description": "Unique identifier for each trajectory. Only useful for `paths.type='simulation'`. Integer from `1` to `nj` as defined in [`GeoPressureR::graph_simulation()`](https://geopressure.com/GeoPressureR/reference/graph_simulation).",
"type": "integer",
"constraints": {
"required": false,
"minimum": 1
},
"example": "1"
}
],
"missingValues": ["", "NA"],
"foreignKeys": [
{
"fields": "tag_id",
"reference": {
"resource": "tags",
"fields": "tag_id"
}
},
{
"fields": ["tag_id", "stap_id"],
"reference": {
"resource": "staps",
"fields": ["tag_id", "stap_id"]
}
}
],
"fieldsMatch": ["superset"]
}