get_revisions
Track how a surveillance value changed across CDC releases by returning the first value, current value, and each revision for a state, pathogen, measure, and week.
Instructions
How one week's value changed across CDC releases: first value, latest value, and each change.
The first call for a state downloads its revision history, which can take a minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | Week ending date (Saturday), YYYY-MM-DD. | |
| state | Yes | Two-letter postal code, e.g. "SC" or "DC". | |
| measure | Yes | Measure name from describe_measures, e.g. "hospital_admission_count". | |
| pathogen | Yes | combined is ED visits only; not_applicable is ED participation_status only. | |
| region_id | No | HSA code or wastewater site ID (e.g. ID:113) from describe_state; required unless region_type is state. | |
| region_type | No | state; sub_state_hsa for an ED region; sampling_site for a wastewater site. | state |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||