Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Official federal cancer incidence and mortality statistics for building state comparison and cancer-burden dashboards.
From source to product signal
USCS is the official federal combination of NPCR and SEER incidence with NVSS mortality. Start with a public state-level incidence table, not the SEER*Stat research file. Rates are age-adjusted to a standard population and are not individual case listings.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
response = requests.get(
"https://data.cdc.gov/resource/5kmb-vjq2.json",
params={"$limit": 50, "$order": "year DESC"},
timeout=30,
)
response.raise_for_status()
stats = pd.DataFrame(response.json())
stats["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(stats.head())Test a useful signal
Test whether a USCS public table can power a bounded state-burden sketch.
Centers for Disease Control and Prevention is a government source. Last verified 2026-08-18. Temporal coverage: USCS incidence and mortality years published by CDC and NCI.