analogist / AQI2cigarettes

Littel calculator to see how many cigarettes you smoked on the West Coast this week

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AQI to Cigarettes Calculator

This project is based on work by Richard A. Muller and Elizabeth A. Muller and inspired by living on the US west coast in the year 2020.

Disclaimer

I am not a scientist or academic. This is a little project I did during a weekend when the AQI fluctuated between 400 and 650. PRs and issues welcome!

Methods

The PM 2.5 to AQI converter uses an equation I found in the code of this calculator. The breakpoints are from the EPA. I assume that one cigarette is equal to exposure to air pollution of 22 μg/m3 for 24 hours.

Project Status

'Beta version' is live here.

About

Littel calculator to see how many cigarettes you smoked on the West Coast this week


Languages

Language:TypeScript 84.6%Language:HTML 11.3%Language:CSS 4.1%