The Science of Local Sentiment: How St. Petersburg Learned to Study Itself