pharmaverse / datacutr

Apply a datacut to SDTM in R
https://pharmaverse.github.io/datacutr/
Apache License 2.0
12 stars 2 forks source link

Create readout file for datacutr #107

Open barnett11 opened 1 year ago

barnett11 commented 1 year ago

Create a readout file to include, Domains run through datacutr, and approach taken, including date variable chosen (? From function so not needed?) Summary of records removed per domain (or for DM, changed)

barnett11 commented 1 year ago

Potentially split into two parts given differences in modular vs wrapped approach

barnett11 commented 1 year ago

Proposal for review: A readme file for each function patient_cut, date_cut and special_dm_cut that indicates number of records removed (or changed) per domain. One readme template as reference? @kieranjmartin do you have any opinion or recommendation please? Thanks

kieranjmartin commented 1 year ago

With this kind of information, is this intended to be saved somewhere? That is we expect this to be part of a report that is submitted somewhere?

The reason I ask is just to check that a physical report is definitely needed, as we can return this sort of information in session.

I don't necessarily have a specific best practice here; you could even support different methods. E.g. export_md, export_pdf or export(format= "pdf").

Basically I would design towards whatever you think the most useful output format is, but allow flexibility for users to create their own outputs if they really want to