SwissClinicalTrialOrganisation / secuTrialR

Handling of data from the clinical data management system secuTrial
https://swissclinicaltrialorganisation.github.io/secuTrialR/
Other
8 stars 12 forks source link

option to remove system variables and score/calculated fields from the data #252

Open aghaynes opened 2 years ago

aghaynes commented 2 years ago

Is your feature request related to a problem? Please describe.

Most system variables are not useful and just take up space...

calculated fields should probably not be used in stats and should be recalculated instead

Both of these field types could thus be removed

Describe the solution you'd like option to read_secutrial to drop them?

DrEspresso commented 11 months ago

Good idea, but there are a few system variables I find useful for joining eCRFs and repetition tables, or identifying latest AE followups (mnpvislabel, mnpvisno, mnpdocid, mnpsubdocid, mnpaeid, mnpaefuid). The option could thus be multi-sided, e.g. "none", "all", "minimal", if other users also find these or similar variables useful.

aghaynes commented 11 months ago

indeed, it's certainly not appropriate to remove everything under all circumstances... your suggestion might well be one way around it