Adapt to tweets.csv format change. Also fixed some Rubocop warnings.