Hours worked per week of part-time employment - lfsq_ewhun2

Data - Eurostat

unit

Code
lfsq_ewhun2 %>%
  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 27081628

sex

Code
lfsq_ewhun2 %>%
  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 9660126
M Males 8865557
F Females 8555945

worktime

Code
lfsq_ewhun2 %>%
  left_join(worktime, by = "worktime") %>%
  group_by(worktime, Worktime) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
worktime Worktime Nobs
TOTAL Total 9777533
FT Full-time 9415720
PT Part-time 7563668
NRP No response 324707

wstatus

Code
lfsq_ewhun2 %>%
  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 4431265
NCFAM Employed persons except contributing family workers 4420267
SAL Employees 4348454
NSAL Employed persons except employees 3363110
SELF Self-employed persons 3301508
SELF_NS Self-employed persons without employees (own-account workers) 3119268
SELF_S Self-employed persons with employees (employers) 2466322
CFAM Contributing family workers 1505765
NRP No response 125669

nace_r2

Code
lfsq_ewhun2 %>%
  left_join(nace_r2, by = "nace_r2") %>%
  group_by(nace_r2, Nace_r2) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
nace_r2 Nace_r2 Nobs
TOTAL Total - all NACE activities 1758886
G Wholesale and retail trade; repair of motor vehicles and motorcycles 1559486
A Agriculture, forestry and fishing 1537879
C Manufacturing 1457187
M Professional, scientific and technical activities 1452129
I Accommodation and food service activities 1431374
S Other service activities 1405232
F Construction 1402767
Q Human health and social work activities 1384189
N Administrative and support service activities 1352178
H Transportation and storage 1322326
R Arts, entertainment and recreation 1320977
P Education 1306552
J Information and communication 1278407
K Financial and insurance activities 1163646
L Real estate activities 1159664
E Water supply; sewerage, waste management and remediation activities 873763
O Public administration and defence; compulsory social security 841068
T Activities of households as employers; undifferentiated goods- and services-producing activities of households for own use 759317
D Electricity, gas, steam and air conditioning supply 741813
B Mining and quarrying 623584
NRP No response 553231
U Activities of extraterritorial organisations and bodies 395973

geo

Code
lfsq_ewhun2 %>%
  left_join(geo, by = "geo") %>%
  group_by(geo, Geo) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}

France, Germany, Portugal

Code
lfsq_ewhun2 %>%
  filter(geo %in% c("FR", "DE", "PT"),
         nace_r2 == "TOTAL",
         wstatus == "SAL",
         sex == "T",
         worktime == "TOTAL") %>%
  quarter_to_date %>%
  left_join(geo, by = "geo") %>%
  ggplot + geom_line() + theme_minimal()  +
  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(0, 44, 1)) +
  theme(legend.position = c(0.3, 0.85),
        legend.title = element_blank()) +
  xlab("") + ylab("Hours worked per week of part-time employment")

France, Italy, Greece

Code
lfsq_ewhun2 %>%
  filter(geo %in% c("FR", "IT", "EL"),
         nace_r2 == "TOTAL",
         wstatus == "SAL",
         sex == "T",
         worktime == "TOTAL") %>%
  quarter_to_date %>%
  left_join(geo, by = "geo") %>%
  ggplot + geom_line() + theme_minimal()  +
  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(0, 50, 0.5)) +
  theme(legend.position = c(0.15, 0.55),
        legend.title = element_blank()) +
  xlab("") + ylab("Hours worked per week of part-time employment")