get_as_of
Retrieve a surveillance series exactly as it was published on a specified past date, enabling real-time backtests and audits of COVID-19, influenza, and RSV data.
Instructions
The series exactly as it had been published on a past date, for real-time backtests and audits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Publication date, YYYY-MM-DD. History starts 2025-04-04 (NHSN), 2025-08-15 (NSSP), 2026-08-07 (NWSS). | |
| 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 | |||