Code
%>%
PTR left_join(PTR_var$FAMILY %>%
setNames(c("FAMILY", "Family")), by = "FAMILY") %>%
group_by(FAMILY, Family) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
FAMILY | Family | Nobs |
---|---|---|
1EARNERC | Couple without children - partner is out of work | 59264 |
1EARNERC2C | Couple with 2 children - partner is out of work | 59264 |
2EARNERC2C_67AW | Couple with 2 children - partner's earnings: 67% of the AW | 59264 |
2EARNERC2C_AW | Couple with 2 children - partner's earnings: AW | 59264 |
2EARNERC_67AW | Couple without children - partner's earnings: 67% of the AW | 59264 |
2EARNERC_AW | Couple without children - partner's earnings: Average Wage (AW) | 59264 |
SINGLE | Single person without children | 59264 |
SINGLE2C | Single person with 2 children | 59264 |