Hi All! Looking for some assistance as a new SAS Studio user. I am attempting to run a conditional if statement to print only the presidents from Ohio based on the 'Home_State' variable. However, it comes back with zero observations. Below I have included the code I used and log. data OhioPresidents;
SET MINE.USPRESIDENT;
if Home_State = 'ohio';
Keep President Wikipedia_Entry Took_Office Left_Office Party Portrait Thumbnail Home_State;
run;
proc print data OhioPresidents;
run;
... View more