16 Tutorial: Adding datasets
This part of the traits.build
book contains a series of tutorials, teaching you for to add datasets to a traits.build
database.
Prior to beginning these tutorials, ensure you have:
- Installed the
{traits.build}
R package
remotes::install_github("traitecoevo/traits.build")
Cloned the traitecoevo/traits.build-template repository.
Built the example database.
The tutorial is divided into the following sections:
- tutorial 1: Adding a simple dataset.
- tutorial 2: Adding a more complex dataset.
- tutorial 3: Adding contexts and complex units.
- tutorial 4: Additional complexities for adding datasets.
- tutorial 5: Adding datasets with multiple columns for a trait.
- tutorial 6: Adding datasets with repeat measurements (response curves).
- tutorial 7: Adding a long format dataset and mapping in units from a column.
Once you’ve worked your way through the tutorials and begin adding your own datasets, you’ll also want to refer to:
- lengthy guide to adding datasets
- guide to common issues when adding data.
If you are building a {traits.build}
compiled trait database and have specific problems that should be covered in additional tutorials or require better explanations, please post an issue.