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 | 678393 |
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 | 678393 |
%>%
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 |
---|---|---|
F | Females | 226299 |
M | Males | 226299 |
T | Total | 225795 |
%>%
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 | 154511 |
UNK | Unknown | 132322 |
Y_GE65 | 65 years or over | 130536 |
Y15-64 | From 15 to 64 years | 130512 |
Y_LT15 | Less than 15 years | 130512 |
%>%
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 .} {