You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`species`| Plant taxonomy (genus, species, common names) |
37
41
|`sites`| Research site locations with coordinates and climate data |
@@ -47,7 +51,9 @@ This package provides 16 datasets exported from BETYdb:
47
51
48
52
### Relationship Tables
49
53
50
-
| Dataset | Description |
54
+
These junction tables connect entities in many-to-many relationships. Use `pfts_species` to find which species belong to a Plant Functional Type, or `managements_treatments` to link management practices to experimental treatments.
@@ -103,35 +109,30 @@ All trait and yield data include a quality control flag:
103
109
|`0`| Unchecked | Not yet reviewed |
104
110
|`-1`| Flagged | Identified as incorrect (excluded from this package) |
105
111
106
-
**Note:** This package exports only `checked >= 0` data. Flagged records (`checked = -1`) are excluded during data preparation. For research requiring unchecked data, access the BETYdb PostgreSQL database directly.
107
-
108
-
### Access Levels
109
-
110
-
All data in this package is publicly available (`access_level = 4`). Restricted data (`access_level` 1–3) requires database access with appropriate permissions.
112
+
This package exports only `checked >= 0` data. Flagged records (`checked = -1`) are excluded during data preparation. All data in this package is public (from BETYdb records with `access_level = 4`). For restricted or flagged data, access the BETYdb PostgreSQL database directly.
111
113
112
114
---
113
115
114
116
## Key Traits and Yields
115
117
116
-
The `traitsview`dataset contains measurements of ecophysiological traits and crop yields:
118
+
The `traitsview`table contains measurements of ecophysiological traits and crop yields:
117
119
118
120
### Common Traits
119
121
120
-
***SLA** - Specific Leaf Area (m2/kg)
121
-
***Vcmax** - Maximum carboxylation rate (umol/m2/s)
122
-
***leafN** - Leaf nitrogen content (%)
123
-
***height** - Plant height (m)
124
-
***LAI** - Leaf Area Index (m2/m2)
122
+
***SLA** -- Specific Leaf Area (m2/kg)
123
+
***Vcmax** -- Maximum carboxylation rate (umol/m2/s)
124
+
***leafN** -- Leaf nitrogen content (%)
125
+
***height** -- Plant height (m)
126
+
***LAI** -- Leaf Area Index (m2/m2)
125
127
126
128
### Yield Variables
127
129
128
-
***Ayield** - Above-ground yield (Mg/ha)
129
-
***AGBiomass** - Above-ground biomass (Mg/ha)
130
+
***Ayield** -- Above-ground yield (Mg/ha)
131
+
***AGBiomass** -- Above-ground biomass (Mg/ha)
130
132
131
133
Use the `variables` table for complete definitions and units:
132
134
```r
133
-
data(variables)
134
-
variables|>
135
+
variables|>
135
136
filter(name%in% c("SLA", "Vcmax", "Ayield")) |>
136
137
select(name, description, units)
137
138
```
@@ -142,9 +143,9 @@ variables |>
142
143
143
144
### .rda (Default)
144
145
145
-
Lazy-loaded R data objects, optimized for R workflows:
146
+
Lazy-loaded R data objects, available after `library(betydata)`:
146
147
```r
147
-
data(traitsview)
148
+
traitsview
148
149
```
149
150
150
151
### Parquet (Alternative)
@@ -176,12 +177,12 @@ Machine-readable metadata following the Frictionless data standard:
176
177
177
178
Detailed tutorials are available as package vignettes:
0 commit comments