It's also important to know, that party affiliation doesn't necessarily reflect voting habits (although it usually does). In NY or CA, Republican voters will frequently register as a Democrat, so that they can vote in their primaries (which will have more of an impact as the D candidate usually gets in). More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.