Clarify how population data works to trigger denominators
mstackhouse opened this issue · comments
https://atorus-research.github.io/Tplyr/articles/table.html#population-data
Before this text “With the table level settings under control, now you’re ready to learn more about what Tplyr has to offer in each layer.”
Something like Note: it’s expected the set_distinct_by() function is used with population data. This is because it does not make sense to use population data denominators unless you have distinct counts. The entire point of population data is to use subject counts, so non-distinct counts would potentially count multiple records per subject and then the percentage doesn’t make any sense.