rtables icon indicating copy to clipboard operation
rtables copied to clipboard

expand output formats

Open anajens opened this issue 3 years ago • 1 comments

Originally reported by @kieranjmartin on Apr 30, 2021

In general, it would be good to expand the as_ methods to cover the following:

  • as_csv
  • as_md
  • as_pdf (maybe unecessary if you have as_md as the user can just use rmd to do it, but potentially helpful)
  • as_tibble/as_data.frame

Less core ideas that could be useful for transmitting/modifying information

  • as_json
  • as_xml

anajens avatar Aug 18 '21 01:08 anajens

The issue with most of these is the same as with flextable. A tibble/csv/md table cannot have nested column structures in a meaningful way, so what those as_* functions would do will need to be discussed, as it is not obvious

On Tue, Aug 17, 2021 at 6:56 PM Jana Stoilova @.***> wrote:

Originally reported by @kieranjmartin https://github.com/kieranjmartin on Apr 30, 2021

In general, it would be good to expand the as_ methods to cover the following:

  • as_csv
  • as_md
  • as_pdf (maybe unecessary if you have as_md as the user can just use rmd to do it, but potentially helpful)
  • as_tibble/as_data.frame

Less core ideas that could be useful for transmitting/modifying information

  • as_json
  • as_xml

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Roche/rtables/issues/232, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG53MNRBOQ2HNSIE2DJXIDT5MHMRANCNFSM5CLA2QRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

gmbecker avatar Aug 18 '21 08:08 gmbecker

We now have a (lossy) tibble/tsv conversion and a non-lossy pdf conversion. No current plants to do an md since we have HTML already, and xml is a duplicate, so closing this issue.

gmbecker avatar Aug 31 '22 18:08 gmbecker