Github site https://github.com/Exp-Micro-Ecol-Hub/dmdScheme
The R Package
The R package dmdScheme is the base package for all dmdScheme schemes. The metadata scheme used by this package (dmdScheme) in itself is just a template and of no real applicability. It needs to be adjusted to actual needs and uploaded to the site dmdScheme repository so that it can be used.
The definition of the dmdScheme can be found at the dmdScheme repository. The R package provides the functionality to work in R with the scheme, i.e. to enter, validate and export the metadata.
Installation
The recommended way is to install from CRAN the stable released version:
To install the master branch, the stable branch which will become the new CRAN release, from the dmdScheme repository on github, run
## install the devtools package if not installed yet
# install.packages("devtools")
devtools::install_github("Exp-Micro-Ecol-Hub/dmdScheme", ref = "master", build_opts = NULL)If you are feelinfg adventourous, want to live at the bleeding edge and can live with non-working features, you can install the dev branch. This branch is not stable and features and functionality can appear or be remioved without prior notice:
## install the devtools package if not installed yet
# install.packages("devtools")
devtools::install_github("Exp-Micro-Ecol-Hub/dmdScheme", ref = "dev", build_opts = NULL)Other branches are not generally recommended for instalation unless you are developing dmdScheme!
Loading the package
When you load the package, the definition of the scheme is downloaded from the dmdScheme repository installed to a temporary scheme library in a temporary directory for usage in this R session. As this scheme library is styored in a temporary directory, it will be deleted when youu quit your R session and re-downloaded each time you start a new session and load the package. To create a permanent package library you have to create a cache in the user directory. To do this, run
and restart your R session. Noiw the definitions of the installed dmdSchemes will be installed in this user cache and be available permanently. For further info, see the documenatation of the command cache().
Accompagnying documentation (vignettes)
- ‘R Package Introduction’ for a general description of the package
- ‘Howto Create a new scheme’ for a walk-through of creating a new scheme
- ‘Minimum requirements for metadatascheme based on dmdScheme’ for the minimum requirements of what a new scheme definition must contain.
Other Resources
Example scheme
For a workable example with data see the documentation of the emeScheme
Presentations
- July 2019: Metadata is sexy! by Rainer M. Krug
- September 2019: Live Demo by Rainer M. Krug
- September 2019, GFÖ, Münster: Metadata can be easy! by Rainer M. Krug & Owen L. Petchey
- From Zero to Hero - Metadata Made Easy! by Rainer M. Krug
- December 2019, BES, Belfast: Metadata made easy by Rainer M. Krug & Owen L. Petchey
Outdated Resources (Just for historical reasons)
Presentations
- December 2018: The dmdScheme - an Introduction by Rainer M Krug