I'm not sure how "liberal" the soda ban was. It was championed by Michael Bloomberg, who was at least nominally a Republican during his tenure. I know Bloomberg is trying to rub his nutsack all over the Democrat party now, but that's fairly recent and while he was mayor of NYC his administration was not considered "liberal" at the time.