Code
%>%
icw_sr_02 left_join(hhcomp, by = "hhcomp") %>%
group_by(hhcomp, Hhcomp) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
hhcomp | Hhcomp | Nobs |
---|---|---|
A1 | One adult | 84 |
A1_DCH | One adult with dependent children | 84 |
A2 | Two adults | 84 |
A2_DCH | Two adults with dependent children | 84 |
A_GE3 | Three or more adults | 84 |
A_GE3_DCH | Three or more adults with dependent children | 84 |
TOTAL | Total | 84 |