Source: https://www.kmcgov.in/KMCPortal/KMCDeathRegistrationAction.do
Install dependencies in requirements.txt
pip3 install -R requirements.txt
- Edit scrape.py and update the END_DATE
END_DATE = date(2021, 5, 15)
- Run
python scrape.py
- It will download only the missing days
- It will add the raw data to
raw
folder
- Delete the current sqlite file inside
data
folder - Run
python process.py
- It will generate the sqlite file with a single table called
death_records
- You can explore it using any clients. My preference is sqlitebrowser
Currently I have the processed data for
START_DATE = date(2010, 1, 1)
END_DATE = date(2021, 5, 15)
inside data
folder. It also has zipped csv for convience.