get_series
Retrieves weekly surveillance values for a selected measure, pathogen, and region, with a reliability flag for every week within optional start and end date bounds.
Instructions
Weekly values of one measure, latest published versions, with a reliability flag for every week.
start and end bound the weeks returned (inclusive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Week ending date (Saturday), YYYY-MM-DD. | |
| start | No | 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. | |
| max_weeks | No | Keep at most this many of the most recent weeks. | |
| 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 | |||