tableone icon indicating copy to clipboard operation
tableone copied to clipboard

Add an option to censor small values appearing in tables via a threshold

Open HarrisonWilde opened this issue 1 year ago • 2 comments

Аs mentioned in this old issue: https://github.com/kaz-yos/tableone/issues/76#issue-752134268 it would be very useful to be able to add some censoring cut-off at which point only < N or ** or similar is shown to indicate the number is smaller than some threshold. This is a very common situation in medical and other sensitive settings where this package sees widespread usage. Happy to attempt to implement if there is some support on getting to grips with the code. I would imagine this would be a quick fix but I don't have the bandwidth to fully dive into the package so would be good to talk to a maintainer.

Thanks!

HarrisonWilde avatar Aug 05 '22 09:08 HarrisonWilde

+1 for this!

tomlincr avatar Sep 08 '22 14:09 tomlincr

Possible inspiration, solutions or alternatives:

  • https://github.com/sdcTools/sdcTable
  • https://github.com/statisticsnorway/easySdcTable (easy interface for sdcTable)
  • https://github.com/sdcTools/sdcMicro (? shiny interface for sdcTable)

tomlincr avatar Sep 09 '22 09:09 tomlincr