Major items (Labour force, Employed person, Employee, Unemployed person, Not in labour force, Unemployment rate) - MIm

Data - Statjp

subject

Code
MIm_var$subject %>%
  print_table_conditional
subject Subject
E Employee
EP Employed person
LB Labour force
NILF Not in labour force
UE Unemployed person
UR Unemployment rate

seasonally_adjusted

Code
MIm_var$seasonally_adjusted %>%
  print_table_conditional
seasonally_adjusted Seasonally adjusted
NSA not seasonally adjusted
SA seasonally adjusted

sex

Code
MIm_var$sex %>%
  print_table_conditional
sex Sex
B Both sexes
F Female
M Male

unit

Code
MIm_var$unit %>%
  print_table_conditional
unit Unit
PCT Percent
TTP Ten thousand persons

series_code, series_name

Code
MIm %>%
  group_by(series_code, series_name) %>%
  summarise(Nobs = n()) %>%
  print_table_conditional

Unemployment Rate (%)

All

Code
MIm %>%
  filter(subject == "UR",
         seasonally_adjusted == "SA") %>%
  ggplot(.) + geom_line(aes(x = period, y = value/100, color = Sex)) + 
  theme_minimal() + xlab("") + ylab("") +
  scale_x_date(breaks = seq(1940, 2020, 5) %>% paste0("-01-01") %>% as.Date,
               labels = date_format("%y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
                labels = percent_format(acc = 1)) +
  scale_color_manual(values = viridis(4)[1:3]) +
  theme(legend.position = c(0.2, 0.8),
        legend.title = element_blank())

1985-2000

Code
MIm %>%
  filter(subject == "UR",
         seasonally_adjusted == "SA",
         period >= as.Date("1985-01-01"),
         period <= as.Date("2000-01-01")) %>%
  ggplot(.) + geom_line(aes(x = period, y = value/100, color = Sex)) + 
  theme_minimal() + xlab("") + ylab("") +
  scale_x_date(breaks = seq(1940, 2020, 1) %>% paste0("-01-01") %>% as.Date,
               labels = date_format("%y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
                labels = percent_format(acc = 1)) +
  scale_color_manual(values = viridis(4)[1:3]) +
  theme(legend.position = c(0.2, 0.8),
        legend.title = element_blank())

1980-2010

Code
MIm %>%
  filter(subject == "UR",
         seasonally_adjusted == "SA",
         period >= as.Date("1980-01-01"),
         period <= as.Date("2010-01-01")) %>%
  ggplot(.) + geom_line(aes(x = period, y = value/100, color = Sex)) + 
  theme_minimal() + xlab("") + ylab("") +
  scale_x_date(breaks = seq(1940, 2020, 2) %>% paste0("-01-01") %>% as.Date,
               labels = date_format("%y")) +
  scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
                labels = percent_format(acc = 1)) +
  scale_color_manual(values = viridis(4)[1:3]) +
  theme(legend.position = c(0.2, 0.8),
        legend.title = element_blank())