clear
sdmxuse data ESTAT, dataset(lfsa_epgar)
keep if time == "2010"
keep if inlist(geo, "AT", "BE", "BG", "CY", "CZ", "DK", "EE", "FI") ///
| inlist(geo, "FR", "DE", "EL", "HU", "IE", "LT", "NL", "NO") ///
| inlist(geo, "PL", "PT", "ES", "SE", "CH", "UK")
keep if age == "Y_GE15"
replace geo = "GR" if geo == "EL"
kountry geo, from(iso2c)
rename NAMES_STD country
drop if sex == "T"
replace sex = "Men" if sex == "M"
replace sex = "Women" if sex == "F"
encode reason, gen(reasonno)
label define reasonno 1 "Looking after children or incapacitated adults" ///
2 "Other family or personal responsibilities" ///
3 "Own illness or disability" 4 "In education or training" ///
5 "Could not find a full-time job" 6 "Other", modify
twoway bar value reasonno, horizontal by(country sex, ///
cols(4) note("{it:Source:} Eurostat, lfsa_epgar, 2010. Respondents 15 years or older.", size(vsmall)) ///
title("Reasons for part-time work")) ///
ylabel(1/6, val) ///
ytitle("") xtitle("% of part-time workforce") ysize(12) xsize(8)
Feb 13, 2018
Random graphs (125): Bar graphs
Labels:
Eurostat data,
kountry,
Random graphs,
sdmxuse,
twoway bar
