(CNN) Politics is never far from Hollywood.

Some of the most celebrated movies from 2014 -- including "Selma," "American Sniper" and "Boyhood" -- were loaded with political themes that prompted significant debates.

But what if you could predict the ideological bent of a film by looking at the politics of the people who made them?

Campaign donations, which provide a behind-the-curtain peek at the political views of even the most private celebrities, offer a trove of data to make that possible.

Analysts from Crowdpac , a group that compiles campaign finance data, examined records of actors, producers, directors and crew members who worked on this year's Oscar-nominated films in search of a correlation between the message of their film and the political views of their creators.

Read More