Back to top

CHRR Rankings Data API

The following captures the various endpoints and access options for exploring the County Health Rankings and Roadmaps rankings data.

Comparisons

Comparisons Data

Comparisons Data
GET/compare/{year}/{state_id}{?counties}

Example URI

GET /compare/2016/55?counties=53_033+55_025
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

counties
string (optional) Example: 53_033+55_025

One or more state + county FIPS code pairs in the following format: ##_###, separated by a +.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "footnotes": {
    "1": {
      "footnote_id": "1",
      "symbol": "^",
      "footnote": "10th\/90th percentile, i.e., only 10% are better.",
      "view": "0",
      "symbolLocation": "0",
      "relField": "benchmark"
    },
    "2": {
      "footnote_id": "2",
      "symbol": "",
      "footnote": "Note: Blank values reflect unreliable or missing data",
      "view": "0",
      "symbolLocation": "0",
      "relField": "raw_value"
    },
    // ...
  },
  "counties": {
    "53_033": {
      "id": "033",
      "name": "King (KG)",
      "path": "king",
      "state_fips": "53",
      "county_fips": "033",
      "suffix": "County",
      "abbreviation": "KG",
      "state_abbr": "WA",
      "categories": {
        "1": "2",
        "2": "1"
      },
      "components": {
        "1": "1",
        "2": "1",
        "3": "2",
        "4": "1",
        "5": "19",
        "6": "3"
      },
      "measures": {
        "1": {
          "data": "4,500",
          "highlight": "0"
        },
        "2": {
          "data": "10%",
          "highlight": "0"
        },
        // ...
      }
    },
    "000": {
      "measures": {
        "1": {
          "data": "6,000",
          "highlight": "0"
        },
        "2": {
          "data": "15%",
          "highlight": "0"
        },
        // ...
      }
    }
  },
  "categories": [
    {
      "id": "1",
      "name": "Health Outcomes",
      "year": "2016"
    },
    {
      "id": "2",
      "name": "Health Factors",
      "year": "2016"
    }
  ],
  "components": [
    {
      "id": "1",
      "name": "Length of Life",
      "year": "2016",
      "category": "1",
      "display_index": "1",
      "measure_type": "0",
      "token": "1"
    },
    // ...
  ],
  "measures": [
    {
      "id": "51",
      "name": "Population",
      "nameFull": "Population",
      "focusAreaIndex": "1",
      "measureIndex": "1",
      "additional": "3",
      "description": "Resident population",
      "constructIndex": "18",
      "component": "7",
      "category": "2",
      "nameSafe": "Population",
      "years": ["2011", "2012", "2013", "2014", "2015", "2016"]
    },
    // ...
  ]
}

States

All States Data

All States Data
GET/states/{year}

Example URI

GET /states/2016
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "1": {
    "id": "01",
    "key_id": "1",
    "short": "AL",
    "path": "alabama",
    "state_fips": "01",
    "abbreviation": "AL",
    "name": "Alabama"
  },
  "2": {
    "id": "02",
    "key_id": "2",
    "short": "AK",
    "path": "alaska",
    "state_fips": "02",
    "abbreviation": "AK",
    "name": "Alaska"
  },
  // ...
}

Counties

All Counties Data

All Counties Data
GET/counties/{state_id}

Example URI

GET /counties/55
URI Parameters
HideShow
state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "101": {
    "id": "101",
    "name": "Racine (RA)",
    "path": "racine",
    "state_fips": "55",
    "county_fips": "101",
    "suffix": "County",
    "abbreviation": "RA",
    "state_abbr": "WI"
  },
  "103": {
    "id": "103",
    "name": "Richland (RI)",
    "path": "richland",
    "state_fips": "55",
    "county_fips": "103",
    "suffix": "County",
    "abbreviation": "RI",
    "state_abbr": "WI"
  },
  // ...
}

Specific County Data

Specific County Data
GET/county/{year}/{state_id}/{county_name}

Example URI

GET /county/2016/55/dane
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

county_name
string (required) Example: dane

Lowercase name of a county within the state, with spaces replaced by -.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "counties": {
    "101": {
      "id": "101",
      "name": "Racine (RA)",
      "path": "racine",
      "state_fips": "55",
      "county_fips": "101",
      "suffix": "County",
      "abbreviation": "RA",
      "state_abbr": "WI"
    },
    "103": {
      "id": "103",
      "name": "Richland (RI)",
      "path": "richland",
      "state_fips": "55",
      "county_fips": "103",
      "suffix": "County",
      "abbreviation": "RI",
      "state_abbr": "WI"
    },
    // ...
  },
  "county": {
    "footnotes": {
      "1": {
        "footnote_id": "1",
        "symbol": "^",
        "footnote": "10th/90th percentile, i.e., only 10% are better.",
        "view": "0",
        "symbolLocation": "0",
        "relField": "benchmark",
        "printOnly": 1
      },
      "2": {
        "footnote_id": "2",
        "symbol": "",
        "footnote": "Note: Blank values reflect unreliable or missing data",
        "view": "0",
        "symbolLocation": "0",
        "relField": "raw_value",
        "active": 1
      },
      // ...
    },
    "stateName": "Wisconsin",
    "countyNameHeading": "Dane<br />County",
    "countiesRankedInState": "72",
    "categoryArray": {
      "1": {
        "year": "2016",
        "id": "1",
        "state_fips": "55",
        "county_fips": "025",
        "z_score": "-0.587039141",
        "rank": "11",
        "quartile": "1",
        "last_updated": "2016-02-24 20:29:00",
        "name": "Health Outcomes",
        "components": [
          {
            "year": "2016",
            "id": "1",
            "state_fips": "55",
            "county_fips": "025",
            "z_score": "-0.460111419",
            "rank": "10",
            "quartile": "1",
            "last_updated": "2016-02-24 20:29:00",
            "componentName": "Length of Life",
            "componentParent": "1",
            "measures": [
              {
                "id": "1",
                "display": "1",
                "ci_high": "5067.1",
                "ci_low": "4634.1",
                "area_to_highlight": "0",
                "trend_graph": "4",
                "measure_type": "0",
                "description": "Years of potential life lost before age 75 per 100,000 population (age-adjusted)",
                "name": "Premature death",
                "format_type": "0",
                "display_precision": "-2",
                "target": "5231.8",
                "source": "10th percentile",
                "countyValue": "4850.6",
                "stateValue": "5952.5",
                "showDetails": "1",
                "constructParent": "1",
                "displayValue": "4,900",
                "displayCIRange": "4,600-5,100",
                "displayState": "6,000",
                "displayTarget": "5,200",
                "hasFootnote": "",
                "name_footnote": "<span class=\"symbol measure-footnote\"></span>",
              },
              // ...
            ]
          },
          // ...
        ],
        "additional": [
          {
            "id": "127",
            "display": "1",
            "ci_high": "256.7",
            "ci_low": "240.4",
            "area_to_highlight": "0",
            "trend_graph": "0",
            "measure_type": "2",
            "description": "Number of deaths among residents under age 75 per 100,000 population (age-adjusted)",
            "name": "Premature age-adjusted mortality",
            "format_type": "0",
            "display_precision": "-1",
            "target": "268.3",
            "source": "10th percentile",
            "countyValue": "248.5",
            "stateValue": "302.4",
            "showDetails": "1",
            "constructParent": "1",
            "displayValue": "250",
            "displayCIRange": "240-260",
            "displayState": "300",
            "displayTarget": "270",
            "hasFootnote": "",
            "name_footnote": "<span class=\"symbol measure-footnote\"></span>",
          },
          // ...
        ]
      },
      "2": {
        "year": "2016",
        "id": "2",
        "state_fips": "55",
        "county_fips": "025",
        "z_score": "-0.835187312",
        "rank": "3",
        "quartile": "1",
        "last_updated": "2016-02-24 20:29:00",
        "name": "Health Factors",
        "components": [
          {
            "year": "2016",
            "id": "3",
            "state_fips": "55",
            "county_fips": "025",
            "z_score": "-0.307975704",
            "rank": "2",
            "quartile": "1",
            "last_updated": "2016-02-24 20:29:00",
            "componentName": "Health Behaviors",
            "componentParent": "2",
            "measures": [
              {
                "id": "9",
                "display": "1",
                "ci_high": "13.9",
                "ci_low": "12.9",
                "area_to_highlight": "2",
                "trend_graph": "0",
                "measure_type": "0",
                "description": "Percentage of adults who are current smokers",
                "name": "Adult smoking",
                "format_type": "1",
                "display_precision": "0",
                "target": "14.3",
                "source": "10th percentile",
                "countyValue": "13.4",
                "stateValue": "17.4",
                "showDetails": "1",
                "constructParent": "3",
                "displayValue": "13%",
                "displayCIRange": "13-14%",
                "displayState": "17%",
                "displayTarget": "14%",
                "hasFootnote": "**",
                "footnote": "Data should not be compared with prior years due to changes in definition/methods",
                "name_footnote": "<span class=\"symbol measure-footnote\">**</span>",
              },
              // ...
            ],
            "additional": [
              {
                "id": "139",
                "display": "1",
                "ci_high": null,
                "ci_low": null,
                "area_to_highlight": "0",
                "trend_graph": "0",
                "measure_type": "2",
                "description": "Percentage of population who lack adequate access to food",
                "name": "Food insecurity",
                "format_type": "1",
                "display_precision": "0",
                "target": "10.7",
                "source": "10th percentile",
                "countyValue": "11.8",
                "stateValue": "12.433147887",
                "showDetails": "1",
                "constructParent": "3",
                "displayValue": "12%",
                "displayCIRange": "&nbsp;",
                "displayState": "12%",
                "displayTarget": "11%",
                "hasFootnote": "",
                "name_footnote": "<span class=\"symbol measure-footnote\"></span>",
              },
              // ...
            ]
          },
          // ...
        ]
      }
    },
    "demographics": [
      {
        "id": "8",
        "name": "Male population 0-17",
        "display_precision": "0",
        "display_index": 13,
        "format_type": "0",
        "measure_type": "1",
        "county_value": "56,457",
        "state_value": "664,657",
        "footnote": "Data supplied on behalf of state"
      },
      // ...
    ]
  }
}

Categories

Categories Data

Categories Data
GET/categories/{year}

Example URI

GET /categories/2016
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

Response  200
HideShow
Headers
Content-Type: application/json
Body
[
  {
    "id": "1",
    "name": "Health Outcomes",
    "year": "2016"
  },
  {
    "id": "2",
    "name": "Health Factors",
    "year": "2016"
  }
]

Components

Components Data

Components Data
GET/components/{year}

Example URI

GET /components/2016
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

Response  200
HideShow
Headers
Content-Type: application/json
Body
[
  {
    "id": "1",
    "name": "Length of Life",
    "year": "2016",
    "category": "1",
    "display_index": "1",
    "measure_type": "0",
    "token": "1"
  },
  {
    "id": "6",
    "name": "Quality of Life",
    "year": "2016",
    "category": "1",
    "display_index": "2",
    "measure_type": "0",
    "token": "6"
  },
  {
    "id": "3",
    "name": "Health Behaviors",
    "year": "2016",
    "category": "2",
    "display_index": "1",
    "measure_type": "0",
    "token": "3"
  },
  {
    "id": "2",
    "name": "Clinical Care",
    "year": "2016",
    "category": "2",
    "display_index": "2",
    "measure_type": "0",
    "token": "2"
  },
  {
    "id": "4",
    "name": "Social & Economic Factors",
    "year": "2016",
    "category": "2",
    "display_index": "3",
    "measure_type": "0",
    "token": "4"
  },
  {
    "id": "5",
    "name": "Physical Environment",
    "year": "2016",
    "category": "2",
    "display_index": "4",
    "measure_type": "0",
    "token": "5"
  },
  {
    "id": "7",
    "name": "Demographics",
    "year": "2016",
    "category": "2",
    "display_index": "5",
    "measure_type": "3",
    "token": "7"
  }
]

Measures

All Measures Data

All Measures Data
GET/measures/{year}/{state_id}

Example URI

GET /measures/2016/55
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

Response  200
HideShow
Headers
Content-Type: application/json
Body
[
  {
    "id": "51",
    "name": "Population",
    "nameFull": "Population",
    "focusAreaIndex": "1",
    "measureIndex": "1",
    "additional": "3",
    "description": "Resident population",
    "constructIndex": "18",
    "component": "7",
    "category": "2",
    "nameSafe": "Population",
    "years": [
      "2011",
      "2012",
      "2013",
      "2014",
      "2015",
      "2016"
    ]
  },
  // ...
]

Single Measure Data

Single Measure Data
GET/measure/{year}/{state_id}/{measure_id}

Example URI

GET /measure/2016/55/1
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

measure_id
number (required) Example: 1

Measure identifier.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "counties": {
    "101": {
      "id": "101",
      "name": "Racine (RA)",
      "path": "racine",
      "state_fips": "55",
      "county_fips": "101",
      "suffix": "County",
      "abbreviation": "RA",
      "state_abbr": "WI"
    },
    "103": {
      "id": "103",
      "name": "Richland (RI)",
      "path": "richland",
      "state_fips": "55",
      "county_fips": "103",
      "suffix": "County",
      "abbreviation": "RI",
      "state_abbr": "WI"
    },
    // ...
  }
  "measures": [
    {
      "id": "51",
      "name": "Population",
      "nameFull": "Population",
      "focusAreaIndex": "1",
      "measureIndex": "1",
      "additional": "3",
      "description": "Resident population",
      "constructIndex": "18",
      "component": "7",
      "category": "2",
      "nameSafe": "Population",
      "years": [
        "2011",
        "2012",
        "2013",
        "2014",
        "2015",
        "2016"
      ]
    },
    // ...
  ],
  "measureValues": {
    "101": {
      "data": "6,400",
      "highlight": "0"
    },
    "103": {
      "data": "5,200",
      "highlight": "0"
    },
    // ...
  },
  "measureSummary": {
    "name": "Premature death",
    "shortDesc": "Years of potential life lost before age 75 per 100,000 population (age-adjusted)",
    "summaryText": "<table>\n\t<tr>\n\t\t<td>Range in Wisconsin<br />(Min-Max):</td>\n\t\t<td>3,900-14,100</td>\n\t</tr>\n\t<tr>\n\t\t<td>Overall in Wisconsin:</td>\n\t\t<td>6,000</td>\n\t</tr>\n\t\t<tr>\n\t\t<td>Top U.S. Performers:</td>\n\t\t<td>5,200 (10th percentile)</td>\n\t</tr>\n\t\t</table>\n",
    "rankingText": "<table>\n\t<tr>\n\t\t<td>Summary Measure:</td>\n\t\t<td>Health Outcomes - Length of Life</td>\n\t</tr>\n\t<tr>\n\t\t<td>Weight in Health Outcomes:</td>\n\t\t<td>50%</td>\n\t</tr>\n\t<tr>\n\t\t<td>Years of Data Used:</td>\n\t\t<td>2011-2013</td>\n\t</tr>\n</table>\n"
  },
  "tabs": {
    "data": {
      "header": [
        {
          "data": "<span>Place</span>",
          "class": "place"
        },
        {
          "data": "&nbsp;",
          "class": "noPrint"
        },
        {
          "data": "<span># Deaths</span>",
          "class": "numerator"
        },
        {
          "data": "<span>Years of Potential Life Lost Rate</span>",
          "class": "raw-value"
        },
        {
          "data": "<span class=\"colname\">Trend</span><span class=\"fa fa-info-circle\" data-bs-popover=\"trendHeaderTooltip\" data-placement=\"bottom\" data-trigger=\"click\" data-content-template=\"partials/trend-info-tooltip.html\"><span>(Click for info)</span></span>",
          "class": "trend-flag info noPrint"
        },
        {
          "data": "<span>Error Margin</span>",
          "class": "ci-range"
        },
        {
          "data": "<span>Z-Score</span>",
          "class": "z-score-rank"
        }
      ],
      "rows": [
        {
          "0": "data",
          "data": [
            {
              "data": "Adams",
              "raw": "Adams",
              "class": "name"
            },
            {
              "data": "",
              "raw": "",
              "class": "info noPrint"
            },
            {
              "data": "355",
              "raw": "355",
              "class": "numerator"
            },
            {
              "data": "8,300",
              "raw": "8311.2",
              "class": "raw_value"
            },
            {
              "data": "3",
              "raw": "3",
              "class": "trendflag noPrint"
            },
            {
              "data": "6,700-9,900",
              "raw": "6,700-9,900",
              "class": "ci_range"
            },
            {
              "data": "1.40",
              "raw": "1.4047745977",
              "class": "z_score_rank"
            }
          ]
        },
        // ...
      ],
      "footnotes": "^Z-Score was capped at -3.0/3.0 due to population &lt; 20,000<br />"
    },
    "description": {
      "year": "2016",
      "id": "1",
      "state_fips": "00",
      "description": "<p>Premature Death is the years of potential life lost before age 75 (YPLL-75). Every death occurring before the age of 75 contributes to the total number of years of potential life lost. For example, a person dying at age 25 contributes 50 years of life lost, whereas a person who dies at age 65 contributes 10 years of life lost to a county's YPLL.&nbsp;The YPLL measure is presented as a rate per 100,000 population and is age-adjusted to the 2000 US population.</p>",
      "reason": "<p>Measuring premature mortality, rather than overall mortality, reflects the <em>County Health Rankings</em>&rsquo; intent to focus attention on deaths that could have been prevented. Measuring YPLL allows communities to target resources to high-risk areas and further investigate the causes of premature death.</p>",
      "strengths_public": "<p>YPLL is a widely used measure of the rate and distribution of premature mortality. The measure was introduced mainly because simple mortality rates do not fully address the issue of premature death, the impact of disease and death, and their cost to society.[1] Reducing YPLL is an important public health goal.</p><p>YPLL emphasizes deaths of younger persons, whereas statistics that include all mortality are dominated by deaths of the elderly.[2] For example, using YPLL-75, a death at age 55 counts twice as much as a death at age 65, and a death at age 35 counts eight times as much as a death at age 70.[3] Including all mortality instead of YPLL in the <em>County Health Rankings</em> could draw attention to areas with higher mortality rates among the oldest segment of the population, where there may be little that can be done to change chronic health problems that have developed over many years.</p><p>YPLL is not without weaknesses. The measure can be difficult for lay people and public health practitioners to interpret. For example, the Florida Health Department&rsquo;s Epidemiology Bureau investigated this issue and learned that county Public Health Units often do not understand how to interpret YPLL.[4] Further, deaths that occur after the age limit are not accounted for at all. Because of this, YPLL can fail to completely capture the burden of chronic disease, especially if the age cut-off is set too low.[3]</p>",
      "citation": "<p>[1] Lee WC. The meaning and use of the cumulative rate of potential life lost. Int J Epidemiol. 1998;27:1053-1056.<br /> [2] Centers for Disease Control and Prevention. Premature mortality in the United States: Public health issues in the use of years of potential life lost. MMWR Morb Mortal Wkly Rep. 1986;35(suppl 2):1S-11S.<br /> [3] Dranger E, Remington P. YPLL: A Summary Measure of Premature Mortality Used in Measuring the Health of Communities. Madison, WI: University of Wisconsin Population Health Institute; 2004. Issue Brief 5(7). <br /> [4] McDonnell S, Vossberg K, Hopkins RS, Mittan B. Using YPLL in health planning. Public Health Rep.1998;113:55-61.</p>",
      "last_updated": "2015-06-29 16:22:52"
    },
    "datasource": {
      "year": "2016",
      "id": "1",
      "state_fips": "00",
      "source_name": "National Vital Statistics System",
      "years": "2011-2013",
      "system_name": "National Center for Health Statistics - Mortality Files",
      "system_description": "<p>Data on deaths and births were provided by NCHS and drawn from the National Vital Statistics System (NVSS). These data are submitted to the NVSS by the vital registration systems operated in the jurisdictions legally responsible for registering vital events (i.e., births, deaths, marriages, divorces, and fetal deaths).</p>",
      "comes_from": "",
      "documentation_url": "http://www.healthindicators.gov/Indicators/Years-of-potential-life-lost-before-age-75-per-100000_3/Profile",
      "download_url": "http://www.healthindicators.gov/Indicators/Years-of-potential-life-lost-before-age-75-per-100000_3/Profile/Download",
      "download_instructions": "<p>Sort by the desired \"Locale level\" and \"Timeframe\"</p>",
      "last_updated": "2015-10-13 13:17:32"
    },
    "construct": "1",
    "approaches": "",
    "measure_type": "0"
  },
  "ranges": {
    "q1": "1 - 18",
    "q2": "19 - 36",
    "q3": "37 - 54",
    "q4": "55 - 72"
  }
}

Rankings

County Rankings Data

County Rankings Data
GET/rankings/{year}/{state_id}

Example URI

GET /rankings/2016/55
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "counties": {
    "101": {
      "id": "101",
      "name": "Racine (RA)",
      "path": "racine",
      "state_fips": "55",
      "county_fips": "101",
      "suffix": "County",
      "abbreviation": "RA",
      "state_abbr": "WI"
    },
    "103": {
      "id": "103",
      "name": "Richland (RI)",
      "path": "richland",
      "state_fips": "55",
      "county_fips": "103",
      "suffix": "County",
      "abbreviation": "RI",
      "state_abbr": "WI"
    },
    // ...
  },
  "rankings": {
    "category": {
      "1": {
        "101": "62",
        "103": "10",
        "105": "61",
        // ...
      },
      // ...
    },
    "component": {
      "1": {
        "101": "46",
        "103": "18",
        "105": "52",
        // ...
      },
      // ...
    },
    "ranges": {
      "q1": "1 - 18",
      "q2": "19 - 36",
      "q3": "37 - 54",
      "q4": "55 - 72"
    }
  }
}

Category Rankings Data

Category Rankings Data
GET/rankings/category/{year}/{state_id}

Example URI

GET /rankings/category/2016/55
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

Response  200
HideShow
Headers
Content-Type: application/json
Body
[
  {
    "rank": "1",
    "categoryId": "1",
    "countyCode": "089"
  },
  {
    "rank": "2",
    "categoryId": "1",
    "countyCode": "015"
  },
  {
    "rank": "3",
    "categoryId": "1",
    "countyCode": "109"
  },
  // ...
]

Component Rankings Data

Component Rankings Data
GET/rankings/component/{year}/{state_id}

Example URI

GET /rankings/component/2016/55
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

Response  200
HideShow
Headers
Content-Type: application/json
Body
[
  {
    "rank": "1",
    "componentId": "1",
    "countyCode": "015"
  },
  {
    "rank": "2",
    "componentId": "1",
    "countyCode": "093"
  },
  {
    "rank": "3",
    "componentId": "1",
    "countyCode": "089"
  },
  // ...
]

Snapshots

Category Rankings Data

Category Rankings Data
GET/snapshots/{year}/{state_id}/{county_ids}

Example URI

GET /snapshots/2016/55/025+001
URI Parameters
HideShow
year
number (required) Example: 2016

Four digit year value.

state_id
string (required) Example: 55

Two digit FIPS code identifier for a state.

county_ids
string (required) Example: 025+001

One or more county FIPS codes for the state, separated by a +.

Response  200
HideShow
Headers
Content-Type: application/json
Body
{
  "counties": {
    "101": {
      "id": "101",
      "name": "Racine (RA)",
      "path": "racine",
      "state_fips": "55",
      "county_fips": "101",
      "suffix": "County",
      "abbreviation": "RA",
      "state_abbr": "WI"
    },
    "103": {
      "id": "103",
      "name": "Richland (RI)",
      "path": "richland",
      "state_fips": "55",
      "county_fips": "103",
      "suffix": "County",
      "abbreviation": "RI",
      "state_abbr": "WI"
    },
    // ...
  },
  "snapshots": {
    "025": {
      "name": "Dane (DA)",
      "county": {
        "footnotes": {
          "1": {
            "footnote_id": "1",
            "symbol": "^",
            "footnote": "10th/90th percentile, i.e., only 10% are better.",
            "view": "0",
            "symbolLocation": "0",
            "relField": "benchmark",
            "printOnly": 1
          },
          "2": {
            "footnote_id": "2",
            "symbol": "",
            "footnote": "Note: Blank values reflect unreliable or missing data",
            "view": "0",
            "symbolLocation": "0",
            "relField": "raw_value",
            "active": 1
          },
          // ...
        },
        "stateName": "Wisconsin",
        "countyNameHeading": "Dane<br />County",
        "countiesRankedInState": "72",
        "categoryArray": {
          "1": {
            "year": "2016",
            "id": "1",
            "state_fips": "55",
            "county_fips": "025",
            "z_score": "-0.587039141",
            "rank": "11",
            "quartile": "1",
            "last_updated": "2016-02-24 20:29:00",
            "name": "Health Outcomes",
            "components": [
              {
                "year": "2016",
                "id": "1",
                "state_fips": "55",
                "county_fips": "025",
                "z_score": "-0.460111419",
                "rank": "10",
                "quartile": "1",
                "last_updated": "2016-02-24 20:29:00",
                "componentName": "Length of Life",
                "componentParent": "1",
                "measures": [
                  {
                    "id": "1",
                    "display": "1",
                    "ci_high": "5067.1",
                    "ci_low": "4634.1",
                    "area_to_highlight": "0",
                    "trend_graph": "4",
                    "measure_type": "0",
                    "description": "Years of potential life lost before age 75 per 100,000 population (age-adjusted)",
                    "name": "Premature death",
                    "format_type": "0",
                    "display_precision": "-2",
                    "target": "5231.8",
                    "source": "10th percentile",
                    "countyValue": "4850.6",
                    "stateValue": "5952.5",
                    "showDetails": "1",
                    "constructParent": "1",
                    "displayValue": "4,900",
                    "displayCIRange": "4,600-5,100",
                    "displayState": "6,000",
                    "displayTarget": "5,200",
                    "hasFootnote": "",
                    "name_footnote": "<span class=\"symbol measure-footnote\"></span>"
                  },
                  // ...
                ]
              },
              // ...
            ],
            "additional": [
              {
                "id": "127",
                "display": "1",
                "ci_high": "256.7",
                "ci_low": "240.4",
                "area_to_highlight": "0",
                "trend_graph": "0",
                "measure_type": "2",
                "description": "Number of deaths among residents under age 75 per 100,000 population (age-adjusted)",
                "name": "Premature age-adjusted mortality",
                "format_type": "0",
                "display_precision": "-1",
                "target": "268.3",
                "source": "10th percentile",
                "countyValue": "248.5",
                "stateValue": "302.4",
                "showDetails": "1",
                "constructParent": "1",
                "displayValue": "250",
                "displayCIRange": "240-260",
                "displayState": "300",
                "displayTarget": "270",
                "hasFootnote": "",
                "name_footnote": "<span class=\"symbol measure-footnote\"></span>"
              },
              // ...
            ]
          },
          // ...
        },
        "demographics": [
          {
            "id": "8",
            "name": "Male population 0-17",
            "display_precision": "0",
            "display_index": 13,
            "format_type": "0",
            "measure_type": "1",
            "county_value": "56,457",
            "state_value": "664,657",
            "footnote": "Data supplied on behalf of state"
          },
          {
            "id": "13",
            "name": "Male population 18-44",
            "display_precision": "0",
            "display_index": 14,
            "format_type": "0",
            "measure_type": "1",
            "county_value": "105,963",
            "state_value": "1,004,757",
            "footnote": "Data supplied on behalf of state"
          },
          // ...
        ]
      }
    },
    "001": {
      "name": "Adams (AD)",
      "county": {
        "footnotes": {
          "1": {
            "footnote_id": "1",
            "symbol": "^",
            "footnote": "10th/90th percentile, i.e., only 10% are better.",
            "view": "0",
            "symbolLocation": "0",
            "relField": "benchmark",
            "printOnly": 1
          },
          "2": {
            "footnote_id": "2",
            "symbol": "",
            "footnote": "Note: Blank values reflect unreliable or missing data",
            "view": "0",
            "symbolLocation": "0",
            "relField": "raw_value",
            "active": 1
          },
          // ...
        }
        "stateName": "Wisconsin",
        "countyNameHeading": "Adams<br />County",
        "countiesRankedInState": "72",
        "categoryArray": {
          "1": {
            "year": "2016",
            "id": "1",
            "state_fips": "55",
            "county_fips": "001",
            "z_score": "1.0183600921",
            "rank": "67",
            "quartile": "4",
            "last_updated": "2016-02-24 20:29:00",
            "name": "Health Outcomes",
            "components": [
              {
                "year": "2016",
                "id": "1",
                "state_fips": "55",
                "county_fips": "001",
                "z_score": "0.7023872988",
                "rank": "70",
                "quartile": "4",
                "last_updated": "2016-02-24 20:29:00",
                "componentName": "Length of Life",
                "componentParent": "1",
                "measures": [
                  {
                    "id": "1",
                    "display": "1",
                    "ci_high": "9930.2",
                    "ci_low": "6692.1",
                    "area_to_highlight": "0",
                    "trend_graph": "3",
                    "measure_type": "0",
                    "description": "Years of potential life lost before age 75 per 100,000 population (age-adjusted)",
                    "name": "Premature death",
                    "format_type": "0",
                    "display_precision": "-2",
                    "target": "5231.8",
                    "source": "10th percentile",
                    "countyValue": "8311.2",
                    "stateValue": "5952.5",
                    "showDetails": "1",
                    "constructParent": "1",
                    "displayValue": "8,300",
                    "displayCIRange": "6,700-9,900",
                    "displayState": "6,000",
                    "displayTarget": "5,200",
                    "hasFootnote": "",
                    "name_footnote": "<span class=\"symbol measure-footnote\"></span>"
                  },
                  // ...
                ]
              },
              // ...
            ],
            "additional": [
              {
                "id": "127",
                "display": "1",
                "ci_high": "425.5",
                "ci_low": "335.4",
                "area_to_highlight": "0",
                "trend_graph": "0",
                "measure_type": "2",
                "description": "Number of deaths among residents under age 75 per 100,000 population (age-adjusted)",
                "name": "Premature age-adjusted mortality",
                "format_type": "0",
                "display_precision": "-1",
                "target": "268.3",
                "source": "10th percentile",
                "countyValue": "380.5",
                "stateValue": "302.4",
                "showDetails": "1",
                "constructParent": "1",
                "displayValue": "380",
                "displayCIRange": "340-430",
                "displayState": "300",
                "displayTarget": "270",
                "hasFootnote": "",
                "name_footnote": "<span class=\"symbol measure-footnote\"></span>"
              },
              // ...
            ]
          },
          // ...
        },
        "demographics": [
          {
            "id": "8",
            "name": "Male population 0-17",
            "display_precision": "0",
            "display_index": 13,
            "format_type": "0",
            "measure_type": "1",
            "county_value": "1,491",
            "state_value": "664,657",
            "footnote": "Data supplied on behalf of state"
          },
          {
            "id": "13",
            "name": "Male population 18-44",
            "display_precision": "0",
            "display_index": 14,
            "format_type": "0",
            "measure_type": "1",
            "county_value": "3,175",
            "state_value": "1,004,757",
            "footnote": "Data supplied on behalf of state"
          },
          // ...
        ]
      }
    },
    // ...
  }
}

Generated by aglio on 21 Sep 2019