Code
%>%
demo_r_d2jan 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 | 4407454 |
Data - Eurostat
%>%
demo_r_d2jan 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 | 4407454 |
%>%
demo_r_d2jan 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 | 1469176 |
M | Males | 1469140 |
T | Total | 1469138 |
%>%
demo_r_d2jan left_join(age, by = "age") %>%
group_by(age, Age) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
demo_r_d2jan left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
demo_r_d2jan filter(nchar(geo) == 4,
== "2018",
time == "T",
sex == "TOTAL") %>%
age left_join(geo, by = "geo") %>%
select(geo, Geo, values) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {