mayoverse / arsenal

An Arsenal of 'R' Functions for Large-Scale Statistical Summaries
https://mayoverse.github.io/arsenal/
223 stars 14 forks source link

comparedf extract data from summary and list limits #344

Open al-mcc opened 2 years ago

al-mcc commented 2 years ago

Hello!

I am using the comparedf function to compare two csv files, and I've managed to get the code working just fine, I'd just like to know two things:

  1. Is it possible to extract parts of the summary rather than the whole output? I have written my summaries to word and html, but it's the whole output. I'd like to know if I can extract just the 'Table: Observations not shared' or 'Table: Differences detected (3352 not shown)'. At the moment I am copying those from the html or word doc into excel, which works fine but I am wondering if the code can do this already.

  2. Is there a way to increase the number of lines shown in the 'Table: Differences detected (3352 not shown)' output? I would like to extract all of these lines somehow.

Apologies if I am asking in the wrong place - I've only ever browsed github for help and wasn't sure where else to ask a question.

Thank you!

bethatkinson commented 2 years ago

Try saving the results of the summary and looking at the components.


From: al-mcc @.> Sent: Monday, January 31, 2022 8:12 AM To: mayoverse/arsenal @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [mayoverse/arsenal] comparedf extract data from summary and list limits (Issue #344)

Hello!

I am using the comparedf function to compare two csv files, and I've managed to get the code working just fine, I'd just like to know two things:

  1. Is it possible to extract parts of the summary rather than the whole output? I have written my summaries to word and html, but it's the whole output. I'd like to know if I can extract just the 'Table: Observations not shared' or 'Table: Differences detected (3352 not shown)'. At the moment I am copying those from the html or word doc into excel, which works fine but I am wondering if the code can do this already.

  2. Is there a way to increase the number of lines shown in the 'Table: Differences detected (3352 not shown)' output? I would like to extract all of these lines somehow.

Apologies if I am asking in the wrong place - I've only ever browsed github for help and wasn't sure where else to ask a question.

Thank you!

— Reply to this email directly, view it on GitHubhttps://github.com/mayoverse/arsenal/issues/344, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACWQG56WZ4BQXGT6OX3BD3DUY2KE7ANCNFSM5NGLT5NQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>