# Detect measles outbreak anomalies in CDC NNDSS weekly data

**Use case:** 

Scan CDC NNDSS weekly surveillance for measles case spikes — current-week counts, 52-week highs and spike ratios flagged by reporting area.

## Input

```json
{
  "diseases": [
    "Measles"
  ],
  "areas": [],
  "year": "",
  "minCases": 0,
  "anomalyThreshold": "2.0",
  "onlyAnomalies": false,
  "maxResults": 1000
}
```

## Output

```json
{
  "disease": {
    "label": "Disease",
    "format": "string"
  },
  "reporting_area": {
    "label": "Reporting area",
    "format": "string"
  },
  "year": {
    "label": "MMWR year",
    "format": "integer"
  },
  "week": {
    "label": "MMWR week",
    "format": "integer"
  },
  "current_week_cases": {
    "label": "Current-week cases",
    "format": "number"
  },
  "max_52wk": {
    "label": "Max prior 52 weeks",
    "format": "number"
  },
  "spike_ratio": {
    "label": "Spike ratio",
    "format": "number"
  },
  "yoy_cum_change_pct": {
    "label": "YoY cumulative change %",
    "format": "number"
  },
  "anomaly": {
    "label": "Anomaly",
    "format": "boolean"
  },
  "anomaly_reasons": {
    "label": "Anomaly reasons",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [CDC NNDSS Weekly Outbreak & Disease Anomaly Monitor](https://apify.com/malonestar/cdc-nndss-outbreak-monitor) with a specific input configuration. Visit the [Actor detail page](https://apify.com/malonestar/cdc-nndss-outbreak-monitor) to learn more, explore other use cases, and run it yourself.