Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHLCRSH

PHLCRSH is an exploratory map of Philadelphia street segments, crash history, tree canopy, street width, grade, and block group context. The project asks where street geometry and environmental context line up with crash risk, and where the public data itself needs skepticism.

The map is not a causal model. It is a browser-based analytical viewer for comparing patterns across street segments. DuckDB-WASM runs locally in the browser, reads GeoParquet outputs, and powers the map layers, peer comparisons, and story examples.

Links

Data Sources

Running the App

cd app
npm install
npm run dev -- --host localhost --port 5173

Open http://localhost:5173/PHLCRSH/.

To build:

cd app
npm run build

Notebook

The notebook expects the source data folders used during analysis. Census API access should be provided through CENSUS_API_KEY; the notebook does not hardcode an API key.

To create a local Python environment:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m ipykernel install --user --name phlcrsh --display-name "PHLCRSH"

About

Exploration of Philadelphia automobile crash data with an emphasis on the natural environment. Uses DuckDB wasm loading GeoParquet from R2. Optional OPFS support where available.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages