Initial commit: CRDC Arrests API demo app
Deploy to Git Pages / build-and-deploy (push) Failing after 19s

React + Vite static site demonstrating the CRDC School Arrest Rate API.
Features 6 interactive charts comparing observed arrest data against Bayesian
model estimates across U.S. school districts, with Civilytics visual identity.

- State selector and district search with 'interesting' suggestions (top arrests)
- Animated histogram loading grid showing posterior draw progress
- Charts: time series, rate by group, district vs national, model comparison quadrants, density proxy, exceedance probability
- Static JSON fixture for national rates (no API changes needed)
- Dockerfile + docker-compose.yml for self-hosted deployment
- GitHub Actions workflow and _config.yml for Git Pages
This commit is contained in:
2026-08-10 10:54:51 -04:00
commit 52a0c77e31
29 changed files with 5084 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Git Pages (Jekyll) configuration — for self-hosted static site deployment.
# Matches the civilytics.org hosting setup where you have a GitHub/GitLab Pages equivalent.
title: CRDC Arrests API Demo
description: "Explore school-based arrest rates by U.S. district with Bayesian model comparisons."
author: Civilytics Consulting LLC
# Exclude non-essential files from Jekyll processing
exclude:
- node_modules
- .git
- .github
- Dockerfile
- docker-compose.yml
- src
- package.json
- package-lock.json
- vite.config.js
- eslint.config.*
# Keep the static build output as-is (no Jekyll processing of JS/CSS)
keep_files:
- dist/
# Markdown settings for any docs pages
markdown: kramdown
kramdown:
syntax_highlighter_opts:
blockquote_plain_markdown: true