Skip to content

Commit c0689fb

Browse files
committed
note composite key in readme
1 parent 5fd9dc2 commit c0689fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ This package provides a dataset with 16 tables exported from BETYdb.
3131
|---------------|--------|---------|----------------------------------------------|
3232
| `traitsview` | 43,532 | 35 | Denormalized view of plant traits and yields |
3333

34+
The `traitsview` table is a union of `traits` and `yields` tables in BETYdb. The unique row identifier is composite key `(result_type, id)`, not `id` alone; a given `id` can appear under both `result_type = "traits"` and `result_type = "yields"`.
35+
3436
### Metadata Tables
3537

3638
These tables provide reference data for species, sites, variables, and other entities linked to the trait observations.

0 commit comments

Comments
 (0)