Leaders and governments can understand public opinion through sample surveys, social media, or media reports.