From 5f3fccd9e09e96838f9fb3618aef3096b2c15ef2 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Wed, 4 Sep 2019 17:07:57 -0800 Subject: [PATCH] Add a codemeta.json file and a bibtext citation. The codemeta.json file is included in the HTML of the generated book, and the Bobtex entry is made available through a 'Copy Bibtex' button. --- README.md | 14 +++++- docs/_output.yml | 3 ++ docs/codemeta.json | 108 +++++++++++++++++++++++++++++++++++++++++++ docs/javascript.html | 17 +++++++ docs/style.css | 15 ++++++ 5 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 docs/codemeta.json create mode 100644 docs/javascript.html create mode 100644 docs/style.css diff --git a/README.md b/README.md index 1d2e6fa7..8b502b8b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,19 @@ *Cite as*: -[Matthew B. Jones](https://orcid.org/0000-0003-0077-4738), [Margaret O'Brien](https://orcid.org/0000-0002-1693-8322), [Bryce Mecum](https://orcid.org/0000-0002-0381-3766), [Carl Boettiger](https://orcid.org/0000-0002-1642-628X), [Mark Schildhauer](https://orcid.org/0000-0003-0632-7576), [Mitchell Maier](https://orcid.org/0000-0001-6955-0535), [Timothy Whiteaker](https://orcid.org/0000-0002-1940-4158), [Stevan Earl](https://orcid.org/0000-0002-4465-452X), [Steven Chong](https://orcid.org/0000-0003-1264-1166). 2019. **Ecological Metadata Language version 2.2.0.** KNB Data Repository. [doi:10.5063/F11834T2](https://doi.org/10.5063/F11834T2) +[Matthew B. Jones](https://orcid.org/0000-0003-0077-4738), [Margaret O'Brien](https://orcid.org/0000-0002-1693-8322), [Bryce Mecum](https://orcid.org/0000-0002-0381-3766), [Carl Boettiger](https://orcid.org/0000-0002-1642-628X), [Mark Schildhauer](https://orcid.org/0000-0003-0632-7576), [Mitchell Maier](https://orcid.org/0000-0001-6955-0535), [Timothy Whiteaker](https://orcid.org/0000-0002-1940-4158), [Stevan Earl](https://orcid.org/0000-0002-4465-452X), [Steven Chong](https://orcid.org/0000-0003-1264-1166). 2019. **Ecological Metadata Language version 2.2.0.** KNB Data Repository. [doi:10.5063/F11834T2](https://doi.org/10.5063/F11834T2) + + + +@article{EML_2019, + title={Ecological Metadata Language version 2.2.0}, + url={https://eml.ecoinformatics.org}, + DOI={10.5063/f11834t2}, + publisher={KNB Data Repository}, + author={Jones, Matthew and O’Brien, Margaret and Mecum, Bryce and Boettiger, Carl and Schildhauer, Mark and Maier, Mitchell and Whiteaker, Timothy and Earl, Stevan and Chong, Steven}, + year={2019} +} + The Ecological Metadata Language (EML) defines a comprehensive vocabulary and a readable XML markup syntax for documenting research data. It is in widespread use in the earth and environmental sciences, and increasingly in other research disciplines as well. EML is a community-maintained specification, and evolves to meet the data documentation needs of researchers who want to openly document, preserve, and share data and outputs. EML includes modules for identifying and citing data packages, for describing the spatial, temporal, taxonomic, and thematic extent of data, for describing research methods and protocols, for describing the structure and content of data within sometimes complex packages of data, and for precisely annotating data with semantic vocabularies. EML includes metadata fields to fully detail data papers that are published in journals specializing in scientific data sharing and preservation. diff --git a/docs/_output.yml b/docs/_output.yml index c14cc3e4..2088ffd2 100755 --- a/docs/_output.yml +++ b/docs/_output.yml @@ -5,3 +5,6 @@ bookdown::gitbook: collapse: section before: |
  • EML Specification
  • + includes: + after_body: javascript.html + in_header: codemeta.json diff --git a/docs/codemeta.json b/docs/codemeta.json new file mode 100644 index 00000000..76b54593 --- /dev/null +++ b/docs/codemeta.json @@ -0,0 +1,108 @@ + diff --git a/docs/javascript.html b/docs/javascript.html new file mode 100644 index 00000000..cef4459f --- /dev/null +++ b/docs/javascript.html @@ -0,0 +1,17 @@ + diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 00000000..588c789f --- /dev/null +++ b/docs/style.css @@ -0,0 +1,15 @@ +#placeholder { + position: absolute; + opacity: 0; + white-space: pre; +} + +#bibtex { + position: absolute; + opacity: 0; + white-space: pre; +} + +#bibtex-button { + color: red; +}