-
Notifications
You must be signed in to change notification settings - Fork 10
/
README.Rmd
378 lines (257 loc) · 9.81 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
---
output: github_document
fig_caption: yes
always_allow_html: true
---
```{r InitialSettings, out.width='100%', include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
message = FALSE,
warning = FALSE
)
library("tidyverse")
library("lubridate")
library("readxl")
library("tibble")
library("dataDownloader")
library("vegan")
library("patchwork")
library(kableExtra)
theme_set(theme_bw(base_size = 12))
source("data_dictionary/data_dic.R")
```
This is the GitHub repository for the Vestland Climate Grid (VCG) and the associate data paper: Vandvik et al. (in prep). Ten years of plant community response to climate change - data from whole-community turf-transplant experiments across broad-scale temperature and precipitation gradients in Western Norway.
# INTRODUCTION
# METHODS
## Research sites
Our study is conducted as a replicated distributed experiment across twelve calcareous grassland sites in southern Norway.
Careful site selection ensured that these twelve sites vary systematically in a ‘grid’ of three temperature levels crossed with four precipitation levels.
Within each site, we measured a range of site-level biotic and abiotic data, and set up three experiments from which we measured a range of environmental and response variables over 12 years.
```{r grid, echo=FALSE, out.width='70%', fig.cap= "Climate grid"}
knitr::include_graphics("pics/grid.jpg")
```
## Experimental designs
Within the VCG, we performed a number of experiments.
- Climate transplant experiments
- Graminoid removal experiment
- Seed rain and seedling recruitment experiments
- Seed bank study
# DATA MANAGAEMENT
## Location of data and supporting information
Project meta-information, data documentation, data set overview and metadata for each dataset are in the VCG data paper (in prep).
Also see below.
The raw and clean data are stored and available on [OSF](https://osf.io/npfa9/).
All R code for the analyses from the Norwegian project is on [GitHub](https://github.com/Between-the-Fjords/seedclim-data).
## Download data
To download the clean data from OSF use the dataDownloader package.
This is how to install and load the package.
```{r downloader-function, echo=TRUE, eval=FALSE}
devtools::install_github("Between-the-Fjords/dataDownloader")
library("dataDownloader")
```
Here is an example for how to download the biomass data:
The *node* is a specific code for the VCG OSF repository.
The *file* defines which specific file that needs to be downloaded.
The *path* refers to where the data should be downloaded to in your RStudio project.
And finally the *remote_path* refers to the folder on OSF, where the data is stored.
```{r downloader-biomass, echo=TRUE, eval=FALSE}
get_file(node = "npfa9",
file = "VCG_clean_functional_group_biomass_2010_2013-2015.csv",
path = "clean_data",
remote_path = "6_Biomass_data")
```
For an overview of all available datasets see Table (\@ref(tab:data-sets).
## Naming conventions
| Data or file | Description of naming convention |
|:---|:---|
| Data files | project_experiment_status_response_year.extension; e.g. VCG_clean_biomass_2009-2012.csv |
| Project | VCG |
| Experiment | E.g. Graminoid removal |
| | |
| siteID | Unique site nmae; e.g. Ulvehaugen (see full list of sites below) |
| blockID | Unique blockID consisting of first 3 letters of site and block nr; e.g. Ves3 |
| originPlotID | Unique origin plotID, numeric value; e.g. 271 |
| destinationPlotID | Unique destination plotID, numeric value; e.g. 211 |
| turfID | Unique turfID containing originPlotID, transplant treatment and destinationPlotID; e.g. 234 TT3 332 |
| TTtreat | Turf transplant treatment including TTC = untouched control, TT1 = local transplant, TT2 warm, TT3 = wet, TT4 warm + wet |
| species | Vascular plant taxon names follow for Norway Lid & Lid(Lid J & Lid, 2010). First three digits of genus and species; e.g. Vio.bif |
| responses | response variable, e.g. cover, biomass, decomposition |
### Valid siteID
Here is the list of valid siteIDs in VCG.
| siteID |
|:---|
| Fauske |
| Vikesland |
| Arhelleren |
| Ovstedalen |
| Alrust |
| Hogsete |
| Rambera |
| Veskre |
| Ulvehaugen |
| Lavisdalen |
| Gudmedalen |
| Skjelingahaugen |
Below is code to clean the site names.
On the left side are the *old names* (e.g. Gud) that you want to replace (change to what fits your data).
And on the right side are *valid names*, which will replace the old names (don't change!).
```{r clean-site, eval=FALSE, echo=TRUE}
# code to clean site names
dat |>
mutate(siteID = recode(siteID,
'Gud' = "Gudmedalen",
'Lad' = "Lavisdalen",
'Ram' = "Rambera",
'Ulv' = "Ulvehaugen",
'Skj' = "Skjelingahaugen",
'Alr' = "Alrust",
'Arh' = "Arhelleren",
'Fau' = "Fauske",
'Hog' = "Hogsete",
'Ovs' = "Ovstedalen",
'Vik' = "Vikesland",
'Ves' = "Veskre"))
```
# DATASETS
Here is an overview over all the datasets.
```{r data-sets, echo=FALSE}
tibble(Variable = c("seedbank", "seedrain", "recruitment", "predation",
"demography",
"vascular plants", "bryophytes",
"vascular plants",
"vascular plants leaf", "vascular plants floral",
"allocation", "functional groups", "species", "belowground biomass and productivity", "graminoid removal",
"decomposition (TBI)", "decomposition (litter)", "litter CN",
"climate", "soilmoisture", "soil chemistry", "soil structure"),
Period = c("2009", "2010", "2009-2012", "2018",
"??",
"2009-2019", "2012-2014",
"2014-2015",
"2012, 2016", "2019",
"2010", "2010, 2013-2015", "2013", "2013-2014", "2011-2018",
"2014-2016", "2016-2017", "2016",
"2009-2022", "2010, 2015-2018", "2010", "2019"),
Level = c("block", "block", "??", "site",
"plot",
"plot", "plot",
"plot",
"site", "site",
"block", "plot/block", "block", "block", "plot",
"block", "block", "litter CN",
"site", "plot", "site", "site"),
File = c("VCG_clean_seedbank.xlsx", "VCG_clean_seedrain.csv", "???", "VCG_clean_seed_predation_2018.csv",
"in prep",
"seedcloim.2020.4.15.zip", "in prep",
"VCG_clean_community_phenology_2014",
"VCG_clean_trait_data_2012-2016.csv", "in prep",
"VCG_clean_biomass_allocation_2009.csv", "VCG_clean_functional_group_biomass_2010_2013-2015.csv", "VCG_clean_species_level_biomass_2013.csv", "belowground", "VCG_clean_graminoid_removal_biomass_2011-2018.csv",
"VCG_clean_decomposition_teabag_2014.csv", "VCG_clean_decomposition_litter_2016.csv", "VCG_clean_litter_cn_2016.csv",
"several files", "VCG_clean_soilmoisture_plotlevel_2015-2018.csv", "soil chemistry", "VCG_clean_soil_structure_2013_2014_2018.csv")
) %>%
kbl(caption = "All avalble datasets with name, time period of data collection, level at which they were collected and file name on OSF.") %>%
pack_rows("1) Seeds", 1, 4) %>%
pack_rows("2) Population",5, 5) %>%
pack_rows("3) Community", 6, 7) %>%
pack_rows("4) Phenology", 8, 8) %>%
pack_rows("5) Traits", 9, 10) |>
pack_rows("6) Biomass", 11, 15) |>
pack_rows("7) Ecosystem", 16, 18) |>
pack_rows("8) Environment", 19, 22)
```
```{r data-structure, echo=FALSE, out.width='100%', fig.cap= "Structure of VCG datasets."}
knitr::include_graphics("pics/VCG_database.png")
```
## Data dictionaries
### 1 Seed data
#### Seedbank
**Seedbank**
```{r seedbank-dic, echo=FALSE}
knitr::kable(seedbank_s_dic)
```
**Vegetation**
```{r seedrain-dic, echo=FALSE}
knitr::kable(seedbank_v_dic)
```
#### Seedrain
```{r seed-rain-dic2, echo=FALSE}
knitr::kable(seedseedrain_dic)
```
#### Seed predation
```{r seed-pred-dic, echo=FALSE}
knitr::kable(seed_pred_dic)
```
### 3 Community data
#### Plant community
```{r sp-comm-dic, echo=FALSE}
knitr::kable(community_dic)
```
### 4 Phenology data
#### Plant phenology
```{r pheno-dic, echo=FALSE}
knitr::kable(phenology_dic)
```
### 5 Trait data
#### Leaf traits
```{r leaf-trait-dic, echo=FALSE}
knitr::kable(leaf_trait_dic)
```
### 6 Biomass data
#### Biomass allocation
```{r biomass-all-dic, echo=FALSE}
knitr::kable(biomass_allocation_dic)
```
#### Biomass functional group
```{r lbiomass-fg-dic, echo=FALSE}
knitr::kable(biomass_fg_dic)
```
#### Biomass species level
```{r biomass-sp-dic, echo=FALSE}
knitr::kable(biomass_sp_dic)
```
#### Biomass and productivity belowground
```{r biomass-bg-dic, echo=FALSE}
knitr::kable(biomass_allocation_dic)
```
#### Biomass graminoid removal
```{r biomass-gr-dic, echo=FALSE}
knitr::kable(litter_dic)
```
### 7 Ecosystem data
#### Litter decomposition
```{r litter-dic, echo=FALSE}
knitr::kable(biomass_allocation_dic)
```
#### TBI decomposition
```{r tbi-dic, echo=FALSE}
knitr::kable(teabag_dic)
```
#### Litter cn
```{r litter-cn-dic, echo=FALSE}
knitr::kable(litter_cn_dic)
```
### 8 Environment data
#### Temperature
```{r temperature-dic, echo=FALSE}
knitr::kable(temperature_dic)
```
#### Soilmoisture
```{r soilmoisture-dic, echo=FALSE}
knitr::kable(soilmoisture_dic)
```
#### Soilmoisture plot level
```{r soilmoisture-plot-dic, echo=FALSE}
knitr::kable(soilmoisture_plot_dic)
```
#### Gridded climate data
```{r climate-dic, echo=FALSE}
knitr::kable(climate_plot_dic)
```
#### Soil structure
```{r soil-structure-dic, echo=FALSE}
knitr::kable(soil_structure_dic)
```
#### Soil chemistry
```{r soil-chem-dic, echo=FALSE}
knitr::kable(soil_chemistry_dic)
```