Klepac-Ceraj-Lab / VKCComputing.jl

1 stars 0 forks source link

Airtable Subjects design #19

Open kescobo opened 1 year ago

kescobo commented 1 year ago

Airtable design decision needed:

At present, we have a Subjects table to contain information about subjects (eg sex, DOB, SES, or for environmental sites, Lat/Lon, description, etc). This links the subject to Projects, since subject IDs only need be unique within-project (eg MARCH subject IDs are just integers starting at 1). In theory, this should be fine, but it's causing some problems. In particular, if we're using Subjects to link to Projects, then samples that are currently missing subject IDs (eg many Malawi samples) don't get linked to the correct Project. It also means that uids in the Subjects table are not actually unique, which causes problems with indexing.

There are a couple of solutions, none of which are ideal, but I think what I've settled on is:

kescobo commented 1 year ago

@Hugemiler Objects to 1 (see https://vkc-lab.slack.com/archives/CD9QR1W23/p1685974339235509 for discussion), but no objection to (2).