Skip to content

Commit 531aba8

Browse files
committed
remove redundant metadata
1 parent be09b69 commit 531aba8

File tree

2 files changed

+7
-90
lines changed

2 files changed

+7
-90
lines changed

data/b3data_package/datapackage.json

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "b3data",
3-
"id": "https://doi.org/10.5281/zenodo.15181097",
3+
"id": "https://doi.org/10.5281/zenodo.15181098",
4+
"version": "0.1.0",
45
"resources": [
56
{
67
"name": "bird_cube_belgium_mgrs10",
@@ -75,33 +76,5 @@
7576
}
7677
]
7778
}
78-
],
79-
"title": "b3data: Data resources for the b3verse",
80-
"description": "This data package contains data resources to be used across the b3verse (https://docs.b-cubed.eu/guides/b3verse/). This includes example datasets (occurrence cubes) as well as spatial resources like reference grids or raster data.",
81-
"keywords": ["data cubes", "b3verse", "frictionless", "biodiversity"],
82-
"licenses": {
83-
"name": "CC-BY-NC-4.0",
84-
"path": "https://creativecommons.org/licenses/by-nc/4.0/",
85-
"title": "Creative Commons Attribution-NonCommercial 4.0 International"
86-
},
87-
"version": "0.1.0",
88-
"sources": {
89-
"title": "b3data-scripts",
90-
"path": "https://github.com/b-cubed-eu/b3data-scripts"
91-
},
92-
"contributors": [
93-
{
94-
"title": "Ward Langeraert",
95-
"path": "https://orcid.org/0000-0002-5900-8109",
96-
"email": "[email protected]",
97-
"role": "author",
98-
"organization": "Research Institute for Nature and Forest (INBO)"
99-
},
100-
{
101-
"title": "Toon Van Daele",
102-
"path": "https://orcid.org/0000-0002-1362-853X",
103-
"role": "contributor",
104-
"organization": "Research Institute for Nature and Forest (INBO)"
105-
}
10679
]
10780
}

source/create_b3data_package.Rmd

Lines changed: 5 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,12 @@ Each dataset includes the following metadata (see: [Frictionless resource spec](
7272

7373
## Package-level Metadata
7474

75-
Metadata for the entire data package (see: [Frictionless Data Package spec](https://specs.frictionlessdata.io/data-package/#metadata)):
75+
Metadata for the entire data package (see: [Frictionless Data Package spec](https://specs.frictionlessdata.io/data-package/#metadata)).
76+
This will be rather limited to avoid repetition with metadata of Zenodo deposit:
7677

7778
- **name**: `b3data`
78-
- **id**: reserved Zenodo DOI
79-
- **title**: `b3data: Data resources for the b3verse`
80-
- **description**: overview of purpose, content, and structure of the data package
81-
- **keywords**: e.g. `"biodiversity", "data cube", "b3verse", "GBIF", "frictionless"`
82-
- **licenses**: [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)
79+
- **id**: reserved Zenodo DOI (version specific)
8380
- **version**: semantic versioning string, e.g. 0.1.0
84-
- **sources**: GitHub repository [b3data-scripts](https://github.com/b-cubed-eu/b3data-scripts)
85-
- **contributors**: name, ORCID, and roles
8681

8782
# Datasets
8883
## Birds in Belgium (MGRS 10 km)
@@ -198,62 +193,11 @@ b3data_package <- append(b3data_package,
198193
c(name = "b3data"),
199194
after = 0)
200195
b3data_package <- append(b3data_package,
201-
c(id = "https://doi.org/10.5281/zenodo.15181097"),
196+
c(id = "https://doi.org/10.5281/zenodo.15181098"),
202197
after = 1)
203-
b3data_package <- append(b3data_package,
204-
c(title = "b3data: Data resources for the b3verse"),
205-
after = 3)
206-
b3data_package <- append(
207-
b3data_package,
208-
c(description = paste(
209-
"This data package contains data resources to be used across the b3verse",
210-
"(https://docs.b-cubed.eu/guides/b3verse/).",
211-
"This includes example datasets (occurrence cubes) as well as spatial",
212-
"resources like reference grids or raster data."
213-
)),
214-
after = 4)
215-
b3data_package <- append(
216-
b3data_package,
217-
c(keywords = list(list(
218-
"data cubes", "b3verse", "frictionless", "biodiversity"
219-
))),
220-
after = 5)
221-
b3data_package <- append(
222-
b3data_package,
223-
c(licenses = list(list(
224-
name = "CC-BY-NC-4.0",
225-
path = "https://creativecommons.org/licenses/by-nc/4.0/",
226-
title = "Creative Commons Attribution-NonCommercial 4.0 International"
227-
))),
228-
after = 6)
229198
b3data_package <- append(b3data_package,
230199
c(version = "0.1.0"),
231-
after = 7)
232-
b3data_package <- append(
233-
b3data_package,
234-
c(sources = list(list(
235-
title = "b3data-scripts",
236-
path = "https://github.com/b-cubed-eu/b3data-scripts"
237-
))),
238-
after = 8)
239-
b3data_package <- append(
240-
b3data_package,
241-
c(contributors = list(list(
242-
list(
243-
title = "Ward Langeraert",
244-
path = "https://orcid.org/0000-0002-5900-8109",
245-
email = "[email protected]",
246-
role = "author",
247-
organization = "Research Institute for Nature and Forest (INBO)"
248-
),
249-
list(
250-
title = "Toon Van Daele",
251-
path = "https://orcid.org/0000-0002-1362-853X",
252-
role = "contributor",
253-
organization = "Research Institute for Nature and Forest (INBO)"
254-
)
255-
))),
256-
after = 9)
200+
after = 2)
257201
258202
# Warning: append() drops the custom datapackage class.
259203
# It can be added again by running b3data_package through create_package()

0 commit comments

Comments
 (0)