Code
sts_setu_m %>%
left_join(nace_r2, by = "nace_r2") %>%
group_by(nace_r2, Nace_r2) %>%
summarise(Nobs = n()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}Data - Eurostat
sts_setu_m %>%
left_join(nace_r2, by = "nace_r2") %>%
group_by(nace_r2, Nace_r2) %>%
summarise(Nobs = n()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}sts_setu_m %>%
left_join(s_adj, by = "s_adj") %>%
group_by(s_adj, S_adj) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
{if (is_html_output()) print_table(.) else .}| s_adj | S_adj | Nobs |
|---|---|---|
| SCA | Seasonally and calendar adjusted data | 816166 |
| CA | Calendar adjusted data, not seasonally adjusted data | 807668 |
| NSA | Unadjusted data (i.e. neither seasonally adjusted nor calendar adjusted data) | 498513 |
sts_setu_m %>%
left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
{if (is_html_output()) print_table(.) else .}| unit | Unit | Nobs |
|---|---|---|
| I21 | Index, 2021=100 | 660238 |
| I15 | Index, 2015=100 | 648837 |
| I10 | Index, 2010=100 | 308757 |
| PCH_PRE | Percentage change on previous period | 259764 |
| PCH_SM | Percentage change compared to same period in previous year | 244751 |
sts_setu_m %>%
left_join(indic_bt, by = "indic_bt") %>%
group_by(indic_bt, Indic_bt) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()| indic_bt | Indic_bt | Nobs |
|---|---|---|
| NETTUR | Net turnover | 2030727 |
| VOL_SLS | Volume of sales | 91620 |
sts_setu_m %>%
left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
mutate(Geo = ifelse(geo == "DE", "Germany", Geo)) %>%
mutate(Flag = gsub(" ", "-", str_to_lower(Geo)),
Flag = paste0('<img src="../../bib/flags/vsmall/', Flag, '.png" alt="Flag">')) %>%
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}sts_setu_m %>%
group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}