I want to transform my dataset and created a code for that. I\'ve one problem. In this code I need to include the condition that yr > 2006 and that the
yr > 2006