R4EPI / sitrep

Report templates and helper functions for applied epidemiology
https://r4epi.github.io/sitrep/
GNU General Public License v3.0
40 stars 14 forks source link

PBK Review of mortality survey #221

Closed zkamvar closed 2 years ago

zkamvar commented 4 years ago

This is in reference to the mortality survey template

zkamvar commented 4 years ago

line 458: why pull instead of select

This is because we want a single vector, not a one-column data frame: https://dplyr.tidyverse.org/reference/pull.html

zkamvar commented 4 years ago

line 1245: the show_halfway is included by default, not sure it needs to be. Might be worth explaining this in comment, but yes, they can read the help file

If I understand correctly, you are suggesting two things:

  1. set show_halfway to default to FALSE
  2. explain show_halfway in the comments

Can you elaborate a bit more about why show_halfway should not be included by default?

pbkeating commented 4 years ago

@zkamvar thanks for this. I haven't seen the output of show_halfway = TRUE as standard in age-sex pyramids that I've seen presented. I think it's good to have, but perhaps better to default to FALSE.

@aspina7 Many of my above comments were general comments rather than major bugs that need fixing. Useful to do the same for the other templates?

aspina7 commented 4 years ago

yeap - id say so. Churn through em

zkamvar commented 4 years ago

@zkamvar thanks for this. I haven't seen the output of show_halfway = TRUE as standard in age-sex pyramids that I've seen presented. I think it's good to have, but perhaps better to default to FALSE.

Is there a reason beyond "this is always how we've done it?".

pbkeating commented 4 years ago

No

On Mon, 16 Dec 2019, 09:41 Zhian N. Kamvar, notifications@github.com wrote:

@zkamvar https://github.com/zkamvar thanks for this. I haven't seen the output of show_halfway = TRUE as standard in age-sex pyramids that I've seen presented. I think it's good to have, but perhaps better to default to FALSE.

Is there a reason beyond "this is always how we've done it?".

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/R4EPI/sitrep/issues/221?email_source=notifications&email_token=AE2NEQ72X63ZSCTTJXQUSEDQY5ELHA5CNFSM4JZNQSV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG6DIJA#issuecomment-565982244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2NEQ6LMRS6WCMLFOIJA5DQY5ELHANCNFSM4JZNQSVQ .

zkamvar commented 4 years ago

Unless it causes a lot of confusion, I'll leave it TRUE by default since it provides a non-intrusive visual aid and we can write the comment to explicitly exclude it (which will be easier to write than asking people to include something they've never seen before).

aspina7 commented 4 years ago

Unless it causes a lot of confusion, I'll leave it TRUE by default since it provides a non-intrusive visual aid and we can write the comment to explicitly exclude it (which will be easier to write than asking people to include something they've never seen before).

Agree with wizard

aspina7 commented 4 years ago

line 1728: are these flow tables routinely presented in mortality surveys?

No - previously was ugly tables .... felt like it was an easier overview. Disagree?

pbkeating commented 4 years ago

It's fine by me, but just depends on the audience, I guess.

On Wed, 18 Dec 2019 at 10:06, Alex Spina notifications@github.com wrote:

line 1728: are these flow tables routinely presented in mortality surveys?

No - previously was ugly tables .... felt like it was an easier overview. Disagree?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/R4EPI/sitrep/issues/221?email_source=notifications&email_token=AE2NEQYRIN7P7EFYYQJRWSLQZHYZJA5CNFSM4JZNQSV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHFTBWQ#issuecomment-566964442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE2NEQZEZ4L36H5K4COFMBDQZHYZJANCNFSM4JZNQSVQ .