KMDC Death Records
Source: Kolkata Municipal Corporation - Death Registration Details
Code is under GNU GPL V3.
Credit
You can credit Thejesh GN - https://thejeshgn.com
Setup
Install dependencies in requirements.txt
pip3 install -R requirements.txt
Scrape
- 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
Process
- 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
Data
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.