The Bureau of Justice Statistics publishes datasets on crime rates, incarceration, court proceedings, law enforcement, and victimisation surveys in the US. Used in data engineering for criminal justice analytics pipelines, policy research systems, and building public safety indicator dashboards in Python.
BJS provides bulk data downloads as CSV and SPSS files from its data portal. Engineers use `pandas.read_csv()` or `pandas.read_spss()` to ingest survey data on victimization, law enforcement employment, and correctional populations for policy analysis.
BJS criminal justice data enables AI tools for policy research and public safety analytics. Build RAG systems indexed on BJS statistical reports so LLMs can answer 'How has the US prison population changed since 2000?' with official justice statistics. AI fairness researchers use BJS data to study disparities.
# pip install requests pandas
import requests, pandas as pd
# BJS National Prisoner Statistics via data.ojp.gov
resp = requests.get(
"https://api.data.gov/od/v1/data/UKXFBEW2",
params={"api_key": "YOUR_API_KEY", "$limit": 50}
)
df = pd.DataFrame(resp.json())
print(df.head())Official dataset source
More datasets used by Python data engineers.
CDC WONDER provides access to US public health datasets including mortality records, natality data, cancer statistics, vaccination rates, and disease surveillance. Used in data engineering for public health analytics pipelines, epidemiological research systems, and building population health indicator dashboards in Python.
The Federal Reserve Bank of St. Louis FRED database provides over 800,000 economic time series from 100+ sources, including interest rates, inflation, GDP, and employment data. Widely used in financial and economic data pipelines via the fredapi Python library for loading macro data into analytical systems.
The FEC provides access to campaign finance data, including information on political contributions, campaign expenditures, fundraising activities and financial disclosures filed by political candidates, parties and committees in the United States.