Code
%>%
tps00071 left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
unit | Unit | Nobs |
---|---|---|
HR | Hour | 437 |
Data - Eurostat
%>%
tps00071 left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
unit | Unit | Nobs |
---|---|---|
HR | Hour | 437 |
%>%
tps00071 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 | 437 |
%>%
tps00071 left_join(worktime, by = "worktime") %>%
group_by(worktime, Worktime) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
worktime | Worktime | Nobs |
---|---|---|
FT | Full-time | 437 |
%>%
tps00071 left_join(isco08, by = "isco08") %>%
group_by(isco08, Isco08) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
isco08 | Isco08 | Nobs |
---|---|---|
TOTAL | Total | 437 |
%>%
tps00071 left_join(wstatus, by = "wstatus") %>%
group_by(wstatus, Wstatus) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) print_table(.) else .} {
wstatus | Wstatus | Nobs |
---|---|---|
EMP | Employed persons | 437 |
%>%
tps00071 filter(time %in% c("2008", "2011", "2014", "2019")) %>%
left_join(geo, by = "geo") %>%
select(geo, Geo, time, values) %>%
spread(time, values) %>%
arrange(-`2019`) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
tps00071 left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
%>%
tps00071 filter(geo %in% c("FR", "DE", "PT")) %>%
%>%
year_to_enddate left_join(geo, by = "geo") %>%
+ geom_line() + theme_minimal() +
ggplot aes(x = date, y = values, color = Geo, linetype = Geo) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 1), "-01-01")),
labels = date_format("%y")) +
scale_y_continuous(breaks = seq(40, 44, 0.2)) +
theme(legend.position = c(0.3, 0.85),
legend.title = element_blank()) +
xlab("") + ylab("Hours worked per week of full-time employment")
%>%
tps00071 filter(geo %in% c("FR", "IT", "EL")) %>%
%>%
year_to_enddate left_join(geo, by = "geo") %>%
+ geom_line() + theme_minimal() +
ggplot aes(x = date, y = values, color = Geo, linetype = Geo) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 1), "-01-01")),
labels = date_format("%y")) +
scale_y_continuous(breaks = seq(40, 50, 0.5)) +
theme(legend.position = c(0.15, 0.55),
legend.title = element_blank()) +
xlab("") + ylab("Hours worked per week of full-time employment")