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 | 708461 |
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 | 708461 |
%>%
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 | 236163 |
F | Females | 236149 |
M | Males | 236149 |
%>%
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 | 160480 |
UNK | Unknown | 139546 |
Y_GE65 | 65 years or over | 136161 |
Y15-64 | From 15 to 64 years | 136137 |
Y_LT15 | Less than 15 years | 136137 |
%>%
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 .} {