{"action":"opened","issue":{"url":"https://api.github.com/repos/juliuste/berlinFeinstaub-bot/issues/3","repository_url":"https://api.github.com/repos/juliuste/berlinFeinstaub-bot","labels_url":"https://api.github.com/repos/juliuste/berlinFeinstaub-bot/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/juliuste/berlinFeinstaub-bot/issues/3/comments","events_url":"https://api.github.com/repos/juliuste/berlinFeinstaub-bot/issues/3/events","html_url":"https://github.com/juliuste/berlinFeinstaub-bot/issues/3","id":227482798,"number":3,"title":"Threshold computation for multiple data points","user":{"login":"dirkschumacher","id":1569647,"avatar_url":"https://avatars1.githubusercontent.com/u/1569647?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkschumacher","html_url":"https://github.com/dirkschumacher","followers_url":"https://api.github.com/users/dirkschumacher/followers","following_url":"https://api.github.com/users/dirkschumacher/following{/other_user}","gists_url":"https://api.github.com/users/dirkschumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkschumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkschumacher/subscriptions","organizations_url":"https://api.github.com/users/dirkschumacher/orgs","repos_url":"https://api.github.com/users/dirkschumacher/repos","events_url":"https://api.github.com/users/dirkschumacher/events{/privacy}","received_events_url":"https://api.github.com/users/dirkschumacher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-09T20:09:50Z","updated_at":"2017-05-09T20:09:50Z","closed_at":null,"body":"It seems the current API just gives the most recent value for each sensor. Usually the guidelines (e.g. WHO) for thresholds are based on daily averages or yearly averages. Not on single points of measurements.\r\n\r\nIf there was a way to get more data points per sensor (e.g. in a sliding window), one could come up with more robust thresholds.\r\n\r\nThe current WHO guidelines says the following:\r\n**PM2.5**\r\n10 μg/m3 annual mean\r\n25 μg/m3 24-hour mean\r\n\r\n**PM10**\r\n20 μ/m3 annual mean\r\n50 μg/m3 24-hour mean\r\nsource: http://apps.who.int/iris/bitstream/10665/250141/1/9789241511353-eng.pdf\r\n\r\nThus in order to have meaningful alerts that policy people take seriously we need to have at least 24 hour moving averages. Ideally with PM2.5 and PM10 alerts.\r\n"}}
{"actor":{"display_login":"dirkschumacher"}}