Skip to content

year: Year

Description

year is the calendar year of the interview, generated from the survey year.

Availability

Sample Years
Basic All years
May All years
ORG All years

Code

Variable creation
***************************
* Calendar interview year *
***************************
cap drop year
gen int year = year(dofm($date))
lab var year "Year"
notes year: Generated from file date