PFD Toolkit
Python package

Load and analyse Prevention of Future Deaths reports programmatically in reproducible Python research workflows.

Install from PyPI pip install pfd_toolkit

A programmable research workflow

01

Load reports

Access PFD report data as a pandas DataFrame and select a date range or the latest reports.

02

Screen questions

Use natural-language criteria to identify reports relevant to a defined research question.

03

Analyse text

Summarise reports, discover themes and extract structured features with configurable LLM workflows.

04

Work reproducibly

Keep analysis in your own scripts and environment, with direct control over configuration and outputs.

Use, inspect and cite the software