Sampling Tool

Upload Dataset (Drag & Drop)

Drop CSV/XLSX here, or
{% if has_data %}Dataset loaded.{% else %}No dataset loaded yet.{% endif %}

Manual Sampler

Select District → Tehsil → UC → Village. Preview eligible groups and choose sample sizes.

Districts (Select)

{% for d in districts %}
{% endfor %}

Tehsils (District | Tehsil)

Select district(s) first.

UCs (District | Tehsil | UC)

Select tehsil(s) first.

Deh Preview

Click “Preview” after selecting filters.

Villages (District | Tehsil | UC | Deh | Village)

Select UC(s) first.

Collector Excel (optional append)

Drop existing .xlsx here (to append), or
No collector file selected (a new file will be created).

Auto Sampler

Auto sample rows: {{ auto_count }}
Auto logic: each District → each Tehsil → random 5 UCs → eligible group≥50 → sample 50 per group.