The code is too hacky to share. Basically, I got a CSV of daily average temperatures for a bunch of cities. I discarded all the rows except for ones in the US and within a single year.
Then, for each city, I just counted the number of days whose temperature was within a range.
I had to do a little massaging because for some reason Washington DC was double counted in there.
Then, for each city, I just counted the number of days whose temperature was within a range.
I had to do a little massaging because for some reason Washington DC was double counted in there.