pharmaverse/datacutr

Create readout file for datacutr

Opened this issue · 3 comments

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)

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

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

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