Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 622 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 622 Bytes

AQI Air Quality Index

About

Download and store the Air Quality Index Dataset as csv using Python with the apis used in National Air Quality Index

How to use ?

  • Set Hour, Year, Month, Starting and ending day of the month in AQI.py file
hour = 15
year = 2020
month = 4
s = 1
e = 0 or monthrange(year, month)[1]
  • Uncomment set the State Name at line 23 for that state Dataset only
if k['stateID'] == 'Delhi':
  • Run the script
py AQI.py
  • After retrieval it will saved as AQI.csv for given period of time

(check the above AQI.csv)