If you notice a possible error in the BAAD, please post an issue here, describing the error and possible fix in detail. If you can, please provide code illustrating the problem.
We gladly accept new data contributions to BAAD. In the future we may try publish an updated data paper, including all new contributors as co-authors on the new article.
If you would like to contribute data, the requirements are:
- Data collected are for woody plants
- You collected biomass or size data for multiple individuals within a species
- You collected either total leaf area or at least one biomass measure
- Your biomass measurements (where present) were from direct harvests, not estimated via allometric equations.
- You are willing to release the data under the Creative commons CC0 public domain waiver.
- That you make it is as easy as possible for us to incorporate your data by carefully following the instructions below.
To contribute, please follow the steps below. It is important that all steps are followed so that our automated workflow (Figure 1) proceeds without problems.
- Create a new folder with name corresponding to the paper or study of the dataset, e.g.
Falster2014
(do not includeetal
or similar). - Prepare the following files:
data.csv
: a table of data in comma-separated values format, with data for each individual plant on a single rowdataImportOptions.csv
: options for reading in the the filedata.csv
dataManipulate.R
: a custom R function to manipulate data, if neededdataMatchColumns.csv
: a table matching variables in your data to variables in BAAD. Columns are as follows:var_in
are the column names of your data filedata.csv
,unit_in
: the units of your datavar_out
: the corresponding variable name in BAAD for this variable (from the tablevariableDefinitions.csv
)method
: any relevant codes describing how you collected the data (from the tablemethodsDefinitions.csv
).dataNew.csv
: any data you wish to add, not already indata.csv
, e.g. site name, location, vegetation type.- Note, we prefer you to add these details here, rather than modifying the raw data file, as the modifications are then automated and part of the workflow.
- Substitutions are also possible, as in this example where abbreviations in the variable
species
are used to add details such as family, and then to eventually replaced the abbreviation with species true name . studyContact.csv
: contact details of data contributor(s). Please keep the number of contributors to one or two.studyMetadata.csv
: description of the methods used to collect the data.studyRef.bib
: reference for the study, in bibtex format.
It may help to download one of the existing datasets and use it as a template for your own files and a guide on required content. You should also look at the files in the config folder, in particular:
variableDefinitions.csv
: names and descriptions of variables in BAADvariableConversion.csv
: list of unit conversions usedmethodsDefinitions.csv
: codes used to indicate methods used in collecting the data.
Figure 1 Workflow for building the BAAD. Data from each study is processed in the same way, using a standardised set of input files, resulting in a single dataset with a common format.
By far our preferred way of contributing is for you to fork the database in github, add your dataset then send us a pull request. If this is not possible, you could email the relevant files (see above) to Daniel Falster or Remko Duursma.
Once you have prepared your data files, add the relevant folder into the data
directory. You can then rebuild the dataset, including your dataset.
To do so you will need to rerun the bootstrap.R
script, which will update the maker_data.yml
and maker_reports.yml
files with appropriate rules for the new dataset (similarly if you remove datasets, do the same). (At this stage, remake offers no looping constructs (on purpose) so for now at least we generate the remakefile using whisker.)
When you send the pull request or email, please indicate that you are willing to release the data under the Creative commons CC0 public domain waiver.
If you would like to value-add to BAAD in some other way, please get in contact, either via email or by posting an issue with an idea or offer of time.