Code
%>%
demo_r_pjanaggr3 left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
unit | Unit | Nobs |
---|---|---|
NR | Number | 708611 |
Data - Eurostat
%>%
demo_r_pjanaggr3 left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
unit | Unit | Nobs |
---|---|---|
NR | Number | 708611 |
%>%
demo_r_pjanaggr3 left_join(sex, by = "sex") %>%
group_by(sex, Sex) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
sex | Sex | Nobs |
---|---|---|
T | Total | 236213 |
F | Females | 236199 |
M | Males | 236199 |
%>%
demo_r_pjanaggr3 left_join(age, by = "age") %>%
group_by(age, Age) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
age | Age | Nobs |
---|---|---|
TOTAL | Total | 160510 |
UNK | Unknown | 139576 |
Y_GE65 | 65 years or over | 136191 |
Y15-64 | From 15 to 64 years | 136167 |
Y_LT15 | Less than 15 years | 136167 |
%>%
demo_r_pjanaggr3 left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {