Skip to content

Commit 3354805

Browse files
committed
Updated tests and files, fixed changes requested in comments
1 parent 1915541 commit 3354805

File tree

13 files changed

+767
-746
lines changed

13 files changed

+767
-746
lines changed

data/README.md

Lines changed: 30 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,45 @@
11
# OPTIMAP FAIR Data Package
2-
**Version:** v17
3-
**Generated on:** 2025-08-25
42

5-
---
3+
**Version:** v17
4+
5+
**Generated on:** 2025-09-24
6+
67

78
## Dataset Summary
8-
- **Total articles:** 28
9-
- **Articles with spatial data:** 20
10-
- **Articles with temporal coverage:** 28
9+
10+
- **Total articles:** 1
11+
- **Articles with spatial data:** 0
12+
- **Articles with temporal coverage:** 0
1113
- **Earliest publication date:** 2010-10-10
12-
- **Latest publication date:**
14+
- **Latest publication date:** 2010-10-10
1315

14-
---
1516

1617
## Sources
1718

18-
---
19+
- [OPTIMAP](http://optimap.science)
20+
1921

2022
## Codebook
2123

22-
| Field | Description |
23-
|---|---|
24-
| `id` | Primary key of the publication record |
25-
| `title` | Title of the article |
26-
| `abstract` | Abstract or summary |
27-
| `doi` | Digital Object Identifier (if available) |
28-
| `url` | URL to the article or preprint |
29-
| `publicationDate` | Date of publication (ISO format) |
30-
| `geometry` | Spatial geometry in GeoJSON/WKT |
31-
| `timeperiod_startdate` | Coverage start dates (ISO format) |
32-
| `timeperiod_enddate` | Coverage end dates (ISO format) |
33-
| `provenance` | Source/method by which the record was imported/added |
34-
35-
---
36-
37-
## Keywords
38-
- open access
39-
- open science
40-
- open research information
41-
- ORI
42-
- open data
43-
- FAIR
44-
45-
---
24+
| Field | Description |
25+
|------------------------|-------------------------------------------------------|
26+
| `id` | Primary key of the publication record |
27+
| `title` | Title of the article |
28+
| `abstract` | Abstract or summary |
29+
| `doi` | Digital Object Identifier (if available) |
30+
| `url` | URL to the article or preprint |
31+
| `publicationDate` | Date of publication (ISO format) |
32+
| `geometry` | Spatial geometry in GeoJSON/WKT |
33+
| `timeperiod_startdate` | Coverage start dates (ISO format) |
34+
| `timeperiod_enddate` | Coverage end dates (ISO format) |
35+
| `provenance` | Source/method by which the record was imported/added |
36+
4637

4738
## License
4839

49-
This record includes:
50-
- **Data files** under **CC0-1.0** (https://creativecommons.org/publicdomain/zero/1.0/)
51-
- **optimap-main.zip** (code snapshot) under **GNU GPL v3** (https://opensource.org/licenses/GPL-3.0)
40+
This record includes:
41+
42+
- **Data files** under **CC0-1.0** (<https://creativecommons.org/publicdomain/zero/1.0/>)
43+
- **optimap-main.zip** (code snapshot) under **GPL-3.0** (<https://opensource.org/licenses/GPL-3.0>)
44+
45+
**Note:** Data are CC0; the software snapshot is GPLv3.

data/zenodo_dynamic.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
{
22
"version": "v17",
3-
"keywords": [
4-
"Open Access",
5-
"Open Science",
6-
"ORI",
7-
"Open Data",
8-
"FAIR"
9-
],
103
"related_identifiers": [
114
{
12-
"relation": "isSupplementTo",
5+
"scheme": "url",
136
"identifier": "http://127.0.0.1:8000/data/optimap_data_dump_latest.geojson.gz",
14-
"scheme": "url"
7+
"relation": "isSupplementTo",
8+
"resource_type": "dataset"
159
},
1610
{
17-
"relation": "isSupplementTo",
11+
"scheme": "url",
1812
"identifier": "http://127.0.0.1:8000/data/optimap_data_dump_latest.gpkg",
19-
"scheme": "url"
13+
"relation": "isSupplementTo",
14+
"resource_type": "dataset"
15+
},
16+
{
17+
"scheme": "url",
18+
"identifier": "https://optimap.science",
19+
"relation": "describes",
20+
"resource_type": "publication"
2021
}
2122
]
2223
}

optimap/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
DATA_DUMP_INTERVAL_HOURS = 6
216216
OPENALEX_MAILTO = "[email protected]"
217217

218-
ZENODO_SANDBOX_TOKEN = os.getenv("M9Ps36SO2dlBJNlMOJMsLWzL9G8b6REY8QSsejUo3Ge6gNXQFRMFe915npTT") # put your sandbox token in env
219-
ZENODO_SANDBOX_DEPOSITION_ID = os.getenv("289741") # existing draft ID
218+
ZENODO_API_TOKEN = os.environ.get("ZENODO_API_TOKEN") # put your sandbox token in env - M9Ps36SO2dlBJNlMOJMsLWzL9G8b6REY8QSsejUo3Ge6gNXQFRMFe915npTT
219+
ZENODO_SANDBOX_DEPOSITION_ID = os.environ.get("ZENODO_SANDBOX_DEPOSITION_ID")
220220
ZENODO_API_BASE = os.getenv("ZENODO_API_BASE", "https://sandbox.zenodo.org/api") # or use the real one for production
221221

222222
MIDDLEWARE = [

0 commit comments

Comments
 (0)