I am using data from the Luxembourg Income study but the data is coded, for example for Ireland in 1983: "ie83". Can anyone help me by showing a way to create a year variable equal to "1983" and a country variable equal to "Ireland" based on the information in the string variable?
Thank you in advance