*! version 1.0.0   02feb2024  Maximilian Sprengholz & Maik Hamjediers

// Preparing example data for help-file examples
cap program drop nopo_ex
program define nopo_ex
version 15
args ex

if ("`ex'" == "1") {

  // use data from oaxaca-help-file
  use "http://fmwww.bc.edu/RePEc/bocode/o/oaxaca.dta", clear


  // categorize and label
	for any exper tenure: gen X_c = round(X,5)
	gen educ_c = round(educ,1)

	lab var educ_c "years of educational attainment (rounded)"
	lab var exper_c "years of work experience (5-year intervalls)"
	lab var tenure_c "years of job tenure (5-year intervalls)"

	lab def female 0 "Men" 1 "Women"
    lab val female female
}

end