{'fraction_non_alphanumeric': 0.011213047910295617, 'fraction_numerical': 0.0, 'mean_word_length': 5.4183006535947715, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Python Code and Illustrative Crisis Management Data from Twitter

This paper presents the Python code and illustrative crisis management data from Twitter. The code includes Twitter data collection and three machine learning algorithms that are readily usable. Three machine learning algorithms generate sentiment measures, extract topics from the tweets and, compare the similarity of topics across time. The code and the illustrative data will be accessible to researchers that are interested in using Twitter data to analyze a wide range of public perceptions and responses such as StockTwits activity; firm events such as the announcement of investment decisions or security breaches; public movements such as #earthday; and significant global events such as the invasion of Ukraine. A better understanding of the code and datasets will enable researchers in this field to engage in more extensive studies that fully utilize this rich data source to capture public perceptions.