-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds research-dataset-schema and testing data
This adds a new schema that aims to model a generic research dataset. A (supposedly) valid json data document is added, as well as an invalid document, for testing purposes. The makefile is updated to add testing and document / output generation for the new schema.
- Loading branch information
Showing
5 changed files
with
462 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/counter-examples/research-dataset-schema/ResearchDataset-missing_fields.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"license": "https://creativecommons.org/publicdomain/zero/1.0/", | ||
"homepage": "https://github.com/allisonhorst/palmerpenguins", | ||
"title": "Palmer Penguins" | ||
} |
97 changes: 97 additions & 0 deletions
97
src/examples/research-dataset-schema/ResearchDataset-penguins.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"license": "https://creativecommons.org/publicdomain/zero/1.0/", | ||
"homepage": "https://github.com/allisonhorst/palmerpenguins", | ||
"name": "penguins", | ||
"title": "Palmer Penguins", | ||
"doi": "https://doi.org/10.5281/zenodo.3960218", | ||
"version": "0.1.0", | ||
"date_modified": "2020-07-16", | ||
"description": "The goal of palmerpenguins is to provide a great dataset for data exploration and visualization, as an alternative to iris. Data were collected and made available by Dr. Kristen Gorman and the Palmer Station, Antarctica LTER, a member of the Long Term Ecological Research Network.", | ||
"data_controller": { | ||
"email": "[email protected]", | ||
"name": "Allison Horst" | ||
}, | ||
"keywords": [ | ||
"penguins", | ||
"sea ice", | ||
"foraging", | ||
"ecological niches", | ||
"islands", | ||
"antarctica", | ||
"animal sexual behavior", | ||
"isotopes" | ||
], | ||
"has_part": [ | ||
{ | ||
"checksum_md5": "e7e2be6b203a221949f05e02fcefd853", | ||
"content_url": "https://portal.edirepository.org/nis/dataviewer?packageid=knb-lter-pal.219.3&entityid=002f3893385f710df69eeebe893144ff", | ||
"path_posix": "raw/adelie.csv", | ||
"size_in_bytes": 23755 | ||
}, | ||
{ | ||
"checksum_md5": "1549566fb97afa879dc9446edcf2015f", | ||
"content_url": "https://portal.edirepository.org/nis/dataviewer?packageid=knb-lter-pal.220.3&entityid=e03b43c924f226486f2f0ab6709d2381", | ||
"path_posix": "raw/gentoo.csv", | ||
"size_in_bytes": 11263 | ||
}, | ||
{ | ||
"checksum_md5": "e4b0710c69297031d63866ce8b888f25", | ||
"content_url": "https://portal.edirepository.org/nis/dataviewer?packageid=knb-lter-pal.221.2&entityid=fe853aa8f7a59aa84cdd3197619ef462", | ||
"path_posix": "raw/chinstrap.csv", | ||
"size_in_bytes": 18872 | ||
} | ||
], | ||
"author": [ | ||
{ | ||
"author_type": "Person", | ||
"orcid": "0000-0002-6047-5564", | ||
"affiliation": [ | ||
"UC Santa Barbara: Santa Barbara, CA, US" | ||
], | ||
"email": "[email protected]", | ||
"name": "Allison Horst" | ||
}, | ||
{ | ||
"author_type": "Person", | ||
"orcid": "0000-0002-8082-1890", | ||
"affiliation": [ | ||
"RStudio: Boston, MA, US" | ||
], | ||
"email": "[email protected]", | ||
"name": "Alison Hill" | ||
}, | ||
{ | ||
"author_type": "Person", | ||
"orcid": "0000-0002-0258-9264", | ||
"affiliation": [ | ||
"University of Alaska Fairbanks: Fairbanks, AK, US" | ||
], | ||
"email": "[email protected]", | ||
"name": "Kristen Gorman" | ||
} | ||
], | ||
"publication": [ | ||
{ | ||
"citation": "Gorman KB, Williams TD, Fraser WR (2014) Ecological Sexual Dimorphism and Environmental Variability within a Community of Antarctic Penguins (Genus Pygoscelis). PLoS ONE 9(3): e90081.", | ||
"date_published": "2014-03-05", | ||
"doi": "https://doi.org/10.1371/journal.pone.0090081" | ||
} | ||
], | ||
"funding": [ | ||
{ | ||
"funder": "NSF-OPP", | ||
"identifier": "#0217282", | ||
"url": "https://www.nsf.gov/awardsearch/showAward?AWD_ID=0217282&HistoricalAwards=false" | ||
}, | ||
{ | ||
"funder": "NSF-OPP", | ||
"identifier": "#0823101", | ||
"url": "https://www.nsf.gov/awardsearch/showAward?AWD_ID=0823101&HistoricalAwards=false" | ||
}, | ||
{ | ||
"funder": "NSF-OPP", | ||
"identifier": "#0741351", | ||
"url": "https://www.nsf.gov/awardsearch/showAward?AWD_ID=0741351&HistoricalAwards=false" | ||
} | ||
] | ||
} |
Empty file.
Oops, something went wrong.