Population by sex, age, citizenship, labour status and NUTS 2 regions - lfst_r_lfsd2pwn

Data - Eurostat

citizen

Code
lfst_r_lfsd2pwn %>%
  left_join(citizen, by = "citizen") %>%
  group_by(citizen, Citizen) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
citizen Citizen Nobs
TOTAL Total 1049114
NAT Reporting country 941422
FOR Foreign country 898496
NEU27_2020_FOR Non-EU27 countries (from 2020) nor reporting country 878691
EU27_2020_FOR EU27 countries (from 2020) except reporting country 824833
NRP No response 287672
STLS Stateless 198787

wstatus

Code
lfst_r_lfsd2pwn %>%
  left_join(wstatus, by = "wstatus") %>%
  group_by(wstatus, Wstatus) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
wstatus Wstatus Nobs
POP Population 1068702
ACT Persons in the labour force (former name: active persons) 1036786
EMP Employed persons 1026209
INAC Persons outside the labour force (former name: inactive persons) 1023005
UNE Unemployed persons 924043
UNK Unknown 270

unit

Code
lfst_r_lfsd2pwn %>%
  left_join(unit, by = "unit") %>%
  group_by(unit, Unit) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
unit Unit Nobs
THS_PER Thousand persons 5079015

sex

Code
lfst_r_lfsd2pwn %>%
  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 1734789
M Males 1672714
F Females 1671512

age

Code
lfst_r_lfsd2pwn %>%
  left_join(age, by = "age") %>%
  group_by(age, Age) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) print_table(.) else .}
age Age Nobs
Y_GE15 15 years or over 870132
Y15-74 From 15 to 74 years 868675
Y15-64 From 15 to 64 years 865964
Y20-64 From 20 to 64 years 863163
Y25-54 From 25 to 54 years 848802
Y15-24 From 15 to 24 years 762279

geo

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

time

Code
lfst_r_lfsd2pwn %>%
  group_by(time) %>%
  summarise(Nobs = n()) %>%
  arrange(-Nobs) %>%
  {if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}