Interactive epidemiological spot maps for India
pip install adarvmaps==0.1.36 Copy PIP instructions
AdarvMaps turns a spreadsheet of latitude and longitude from the field into a polished, interactive HTML map. You can open the map in any browser, make edits, and download it as a PNG image or PDF. India's state and district boundaries are already built in, so you don't have to search for shapefiles.
AdarvMaps turns your spreadsheet into an interactive map. It automatically places every row as a dot at its location, draws the correct state and district boundaries, and colours the groups (e.g. cases and controls) differently. It then generates a single, self-contained HTML file you can open in any browser to fine-tune your map — and you can download it as a PNG or PDF, or email it to a colleague. You may also aggregate the dots to switch from a spot map to a dot-density map.
Each row in your spreadsheet should be one person or event, and each row should carry its location (latitude and longitude) in separate columns. You may also include an extra column that splits the data into groups (e.g. case / control) if you want to show both on the same map.
This guide is for anyone who wants a map but has never written any code. You don't need to install anything on your computer. You'll copy and paste two lines of template code, and then AdarvMaps will guide you through the rest with a few plain-English questions.
Go to colab.research.google.com and click New notebook. Google Colab is a free service that runs code in your web browser, so there's nothing to install. You'll see an empty box called a cell.
Click inside the cell, paste the two lines below, and press the ▶ (play) button:
!pip install adarvmaps import adarvmaps; adarvmaps.run() The first line installs AdarvMaps; the second starts the guided wizard. Depending on your internet speed, the install may take a little while.
AdarvMaps asks five questions. Each shows its own best guess — press Enter to accept it, or type the number of the correct choice.
from adarvmaps import AdarvMaps # `data` accepts a CSV path or a pandas DataFrame AdarvMaps("my_data.csv").build().save("map.html") Or from the command line:
adarvmaps my_data.csv -o map.html Common options AdarvMaps(data, ...) — all options below are keyword arguments:
Full API and CLI reference → DOCUMENTATION.md
🔒 Privacy: running AdarvMaps locally keeps your data on your machine — nothing is uploaded. Google Colab is convenient but runs on Google's cloud, so use it only for de-identified or demo data.
AdarvMaps reads a CSV and auto-detects the columns — you don't have to rename anything. At a minimum it needs location and, optionally, an outcome:
latitude,longitude,outcome 28.6,77.2,case 19.0,72.8,control 13.0,80.2,case What you get A single, self-contained HTML file you can open in any browser or share. Its sidebar lets anyone switch between Dot Density and Spot Pins, show one group or both, recolour and resize markers, toggle place-name labels, and export to PNG / PDF.
AdarvMaps is developed by the ADARV team: Muniraj Mallesan (maintainer), Dr. Sharan Murali (team lead), Manikandan K, Shanmuga Sundharam, Yogita Chaudhary, Barath U, Balaji S, and Deepana R.
Author: Muniraj Mallesan, Dr. Sharan Murali, Manikandan K, Shanmuga Sundharam, Yogita Chaudhary, Barath U, Balaji S, Deepana R
case-control epidemiology folium geospatial india spot map
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
The dropdown lists show the available interpreters, ABIs, and platforms.
Enable javascript to be able to filter the list of wheel files.
Copy a direct link to the current filters Copy
Details for the file adarvmaps-0.1.36.tar.gz.




