(This Pew Research Center survey was conducted in late June, before the events of last week, including the shooting deaths of Alton Sterling and Philando Castile and the deaths of five police officers in Dallas.)