Dietary Index Calculation Platform

DietaryIndex

A unified workspace for dietary scoring, NHANES / ASA24 / FFQ uploads, and FII food lookup.

Currently includes 22 pages covering core indices, family pages, and the FII database.

New public lookup tool
🗂️ FII Food Database
Use English food names or 8-digit USDA/FNDDS FDCD codes to inspect food-level FII values.
USDA / FNDDS English data are connected; Chinese-name search is not yet available.
Food entries—
Food groups—
Anti-inflammatory—
Pro-inflammatory—
Quick examples
🧩 API / Codex Access

FastAPI provides index metadata, file previews, mapping suggestions, compute jobs, downloads, and FII lookup.

Next.js handles interaction; all calculations continue to use the dietaryindex Python engine.

Open Compute Page →

Quick Food Lookup

Click a food card to open the FII database and run the query.

Loading the index catalog…
🌟 Featured Indices
🌿 Plant-based Spotlight

Use PDI / hPDI / uPDI for within-sample rankings; use PHDI for alignment with planetary-health targets.

The PDI family uses sample-relative rankings; PHDI uses fixed targets aligned with EAT-Lancet.

🌱
PDI 家族
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🌍
PHDI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
📚 All 22 Pages
🔥
DII
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🧪
FII / FISI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🗂️
FII Database
FII Food Database · Score lookup
Look up food-level FII by English food name or FDCD.
📊
HEI-2020
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
📈
HEI-2015
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
💜
AHEI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🤰
AHEIP
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
💚
DASH
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🫀
DASHI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🎗️
ACS2020
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🫒
MED
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🌊
MEDI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🌱
PDI 家族
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🌍
PHDI
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🧠
MIND / DQI-I
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🇨🇳
CHEI / DBI / CHINA-DII
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🌐
GDQS / WISH
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🔬
NRF / NAR / MAR / INQ
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
⚗️
PRAL / NEAP
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🛡️
CDAI / OBS
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🧬
E-DII
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
🦠
DI-GM
Topic calculator · Score score scale unavailable
Uses the unified FastAPI compute service.
1
Select IndexChoose a dietary index from the sidebar
→
2
Upload DataSelect a mode and upload raw or prepared files
→
3
Compute & ExportMap variables, run scoring, and export results
📛 Supported Data Upload Modes
🧾GeneralCSV / Excel
Manual column mapping
📦NHANES FPED2005+
.sas7bdat + .XPT
📦NHANES MPED1999–2004
equiv.txt + .XPT
📁ASA24Totals.csv
Automatic aggregation
📝DHQ3 / BLOCKFFQ raw data
One-step computation