Social media mining to investigate the impacts of the COVID-19 pandemic