add function to get timeseries for hashes