Text this: Air quality investigation using functional data analysis methods