Tag: R ifelse replacing date with integer