This repository contains the project materials for “Meerkats Against Patriarchy” (data-journalism / thesis-based portfolio project).
- Project page (HTML):
meerkats-against-patriarchy.html - Project text (Markdown):
meerkats-against-patriarchy.md - Figure outputs:
figures/(includesfigures/CallProportions.png) - Photos:
pics/ - Data:
data/(RDS files used by the plotting script) - Scripts:
scripts/
From the repository root:
python -m http.server 8000Then open:
http://localhost:8000/meerkats-against-patriarchy.html
The page includes figures/CallProportions.png, generated from a fitted brms model and PROP_data.
- R installed
- A working Stan backend (this project used CmdStanR originally)
Install required R packages:
install.packages(c("brms", "dplyr", "tidyr", "tidybayes", "ggplot2", "ggdist"))Large fitted model files are ignored by git:
models/*.rdsis in.gitignore
To regenerate the figure you need the model file available locally at:
models/B_prop.rds
From the repo root:
Rscript scripts/b_prop_interactive.RThis will write:
figures/CallProportions.png
If you have the three milestone models available locally:
models/SEMI_anova.rdsmodels/DIG_PEAK_anova.rdsmodels/FULL_anova.rds
You can generate milestone figures (by treatment × sex) with:
Rscript scripts/milestones_figures.ROutputs:
figures/Milestone_SEMI.pngfigures/Milestone_DIG_PEAK.pngfigures/Milestone_FULL.pngfigures/Milestones_Combined.png