Trump had been counting on strong support upstate where, he has said, "I'm like the most popular person that's ever lived."
Despite a statewide jobless rate of 4.8 percent, New York's job market has recovered unevenly across the Empire state. In Tompkins County, home of Ithaca-based Cornell University, the jobless rate is a statewide low of just 3.7 percent. That compares with 8.1. percent in rural Hamilton County, located within Adirondack state park.
New York City's jobless rate also ranges from a low of 5.1 percent in Manhattan to 8.1 percent in the Bronx.
Trump had a solid lead in statewide polls heading into the New York primary. But raw vote totals didn't tell the whole story, thanks to New York's complex formula for allocating GOP delegates.
Of the 95 delegates chosen to go to the nominating convention, 14 of them were elected based on statewide results. To win them all, a candidate had to collect more than half the total votes cast. If no one won half the total, those "at-large" delegates would be split among candidates winning more than 20 percent of the vote.
The remaining 81 delegates were assigned based on tallies in each of the state's 27 congressional districts. To win all three, a candidate had to win half the votes in that district. Otherwise, the candidate with the most votes over 20 percent won two delegates and the next highest tally got one.
In the end, Trump's solid margin of victory helped him win the majority of the state's delegates.
— No time for election news during the week? Sign up for CNBC's Friday newsletter Your Money Your Vote. Click here http://www.cnbc.com/sign-up-for-cnbc-newsletters/