Skip to content

Reusable R notebooks, scripts, and tools for applied data work and evaluation — built for use in the field across health, gender, climate, and education programs.

License

Notifications You must be signed in to change notification settings

Varnasr/FieldStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FieldStack banner

📚 Table of Contents

👋 Welcome

FieldStack is a personal, open-source collection of reusable R code, Quarto notebooks, and sample datasets that I’ve developed over years of working in public health, gender equity, education, climate resilience, and MEL.

It’s meant for:

  • Researchers and MEL professionals needing clean, modular R logic
  • Students looking for working examples tied to real development problems
  • Field practitioners building quick summaries, dashboards, or insights

Every script and notebook runs out of the box using included data.
Everything is tested, documented, and designed to reflect real South Asian fieldwork needs.


🧪 How to Use

  • 🔁 Clone the repo or download ZIP
  • 📊 Open any .qmd in RStudio to explore summaries
  • 🧪 To run all tests:
    source("tests/run_all_tests.R")

To export dashboard-ready CSVs, use the MEL module or edit any notebook’s output block.


🧰 Featured Modules

Explore working, documented code across:

All scripts run out of the box and include real data or logic.

FieldStack 📊

Reusable R Scripts, Notebooks, and Sample Data for Evaluation, MEL, and Social Research

CI workflows enabled — badge will display after first successful run


📁 Folder Map

FieldStack/
├── scripts/         # Core reusable R functions
├── notebooks/       # Quarto notebooks (runnable)
├── tests/           # Unit tests
├── sample_data/     # Example CSVs for each use case
├── banner/          # Banner image

📦 Included Modules (2025)

Each module includes:

  • scripts/: R logic with examples
  • notebooks/: Visual walkthroughs in .qmd
  • sample_data/: District-level datasets
  • tests/: Validation with testthat
Sector Notebook Description
Gender gender_labour_summary.qmd Weighted female employment summary from survey-style data
Public Health public_health_index.qmd Health access index using PHC, CHC, and subcentre availability
Education education_summary.qmd District- and gender-wise school pass rates
Climate climate_risk_summary.qmd Vulnerability index using flood, drought, and temperature variability
MEL mel_dashboard_summary.qmd Wide-to-long reshaping for Power BI/Looker dashboards

🔗 Related

🌐 Also see:
EquityStack → Python + Jupyter + Notebooks for social data
🔗 github.com/Varnasr/EquityStack


📊 Repository Status & Metadata

License: MIT
Maintained


📜 License

MIT License — feel free to fork, reuse, or build on this work.


📑 Cite This

Sri Raman, V. (2025). FieldStack: Reproducible R Code for MEL, Evaluation, and Social Data. Zenodo. https://doi.org/10.5281/zenodo.15250764

DOI

@software{sriraman_fieldstack_2025,
  author       = {Varna Sri Raman},
  title        = {FieldStack: Reproducible R Code for MEL, Evaluation, and Social Data},
  year         = 2025,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.15250764},
  url          = {https://doi.org/10.5281/zenodo.15250764}
}

✉️ Contact