Code
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/sbs_turn_ind_r2.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-10-08 |
Data - Eurostat
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/sbs_turn_ind_r2.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-10-08 |
LAST_COMPILE |
---|
2024-11-22 |
%>%
sbs_turn_ind_r2 group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
head(1) %>%
print_table_conditional()
time | Nobs |
---|---|
2018 | 12756 |
%>%
sbs_turn_ind_r2 left_join(nace_r2, by = "nace_r2") %>%
group_by(nace_r2, Nace_r2) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
%>%
sbs_turn_ind_r2 left_join(indic_sb, by = "indic_sb") %>%
group_by(indic_sb, Indic_sb) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional
indic_sb | Indic_sb | Nobs |
---|---|---|
V18120 | Turnover from industrial activities - million euro | 12566 |
V18150 | Turnover from service activities - million euro | 12566 |
V18160 | Turnover from trading activities of purchase and resale and intermediary activities (agents) - million euro | 12566 |
%>%
sbs_turn_ind_r2 group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
print_table_conditional
time | Nobs |
---|---|
2018 | 12756 |
2013 | 12702 |
2008 | 12240 |
%>%
sbs_turn_ind_r2 left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
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 .} {