Jaminy / Email-Mining

BSD 2-Clause "Simplified" License
1 stars 4 forks source link

"Time of day" for emails #28

Closed irl closed 8 years ago

irl commented 8 years ago

For each email address, maintain a counter for each hour of the day in the scraper. When scraping emails, you should increment the counter for each email received in that particular hour. For example, an email received at 14:20 would increment timer number 14.

These counters could be stored in an array, for example:

hours = [0] * 24

And then to increment the counter for 14:

hour[14] += 1

The idea for this is to give an idea of when you can likely expect a reply from someone and maybe work out their timezone.

irl commented 8 years ago

Once you have merged #34, you should add this extra functionality to the web application, but deal with #26 first as that is the main functionality for the project.