Women, Infants, and Children (WIC) Program Eligibility Criteria

This data set includes eligibility criteria for participation in the Special Supplemental Nutrition Program for Women, Infants and Children (WIC). The Special Supplemental Nutrition Program for Women, Infants and Children (WIC) offers nutrition education, breastfeeding support, referrals and a variety of nutritious foods to low-income pregnant, breastfeeding or postpartum women, infants and children up to age five to promote and support good health. To be eligible to receive WIC benefits specific eligibility requirements must be met including categorical, residential, income, and nutritional risk criteria.For more information, check out: http://www.health.ny.gov/prevention/nutrition/wic/ or go to the “About” tab. This data set is available at: https://health.data.ny.gov/Health/Women-Infants-and-Children-WIC-Program-Eligibility/6mi3-atgt

Getting Started

All communication with the API is done through HTTPS, and errors are communicated through HTTP response codes. Available response types include JSON, XML, and CSV, which are selectable by the "extension" on API requests or by HTTP Accepts headers.

This documentation also includes inline, runable examples. Click on any link that contains a gear symbol next to it to run that example live against the Women, Infants, and Children (WIC) Program Eligibility Criteria API.

App Tokens

All requests should include an app token that identifies your application, and each application should have its own unique app token. A limited number of requests can be made without an app token, but they are subject to much lower throttling limits than request that do include one. If you don't have an app token yet, click the button to the right to sign up for one.

Once you have an app token, you can include it with your request either by using the X-App-Token HTTP header, or by passing it via the $app_token parameter on your URL.

Response Codes

One of the following response codes will be returned with every request:

  1. 200Successful request.
  2. 202Request processing. You can retry your request, and when it's complete, you'll get a 200 instead.
  3. 400Bad request
  4. 401Unauthorized. You're not authorized to access this resource.
  5. 404Not found. The resource requested doesn't exist.
  6. 429Too Many Requests. The client has made too many requests and is currently being rate limited.
  7. 500Server errors. Our bad!

Code Samples

#!/usr/bin/env ruby

require 'net/https'
uri = URI('https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?recall_id=94')

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER

request = Net::HTTP::Get.new(uri.request_uri)
request.add_field('X-App-Token', ARGV[0])

response = http.request(request)
puts response.code
puts response.body
#!/usr/bin/env python

import sys
import requests

r = requests.get('https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?recall_id=94', headers={'X-App-Token': sys.argv[1]})
print r.status_code
print r.text
request = require 'request'
options = uri: 'https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?$$app_token=APP_TOKEN&recall_id=94'
request options, (err, response, body) ->  console.log body
#!/bin/sh 

curl --header "X-App-Token: $1" "https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?recall_id=94"

Fields

The following fields are available on the Women, Infants, and Children (WIC) Program Eligibility Criteria API.

group

Human Name: Eligibility Requirement
Type: text
Eligibility category; values: Categorical, Residential, Income, Nutritional Risk

Examples

Retrieve all records with group equal to Residential:

Retrieve all records where group is within 1 kilometer of Seattle, WA (47.598177,-122.33448):

https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?$where=within_circle(group, 47.598177,-122.33448, 1000)

criteria

Human Name: Criteria
Type: text
Specific eligibility criteria for meeting requirement

Examples

Retrieve all records with criteria equal to Do I receive benefits from Food Stamps, Medicaid or Temporary Assistance for Needy Families?:
Retrieve all records with criteria equal to Do I receive benefits from Food Stamps, Medicaid or Temporary Assistance for Needy Families?:

Retrieve all records where criteria is within 1 kilometer of Seattle, WA (47.598177,-122.33448):

https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?$where=within_circle(criteria, 47.598177,-122.33448, 1000)

more_information

Human Name: More Information
Type: text
Additional information for specific criteria or link to data source if applicable

Examples

Retrieve all records with more_information equal to Women who are breastfeeding are eligible up to the infant's first birthday:
Retrieve all records with more_information equal to Women who are breastfeeding are eligible up to the infant's first birthday:

Retrieve all records where more_information is within 1 kilometer of Seattle, WA (47.598177,-122.33448):

https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?$where=within_circle(more_information, 47.598177,-122.33448, 1000)

link

Human Name: Link
Type: url
A link to the Income Eligibility Guidelines Dataset on Health Data NY.

Examples

Retrieve all records with link equal to description: Federal Income Guidelines, url: https://health.data.ny.gov/Health/WIC-Federal-Gross-Income-Guidelines-2013-2014/6zdy-fajb:
Retrieve all records with link equal to description: Federal Income Guidelines, url: https://health.data.ny.gov/Health/WIC-Federal-Gross-Income-Guidelines-2013-2014/6zdy-fajb:

Retrieve all records that are greater than description: Federal Income Guidelines, url: https://health.data.ny.gov/Health/WIC-Federal-Gross-Income-Guidelines-2013-2014/6zdy-fajb:

Retrieve all records with link equal to description: Federal Income Guidelines, url: https://health.data.ny.gov/Health/WIC-Federal-Gross-Income-Guidelines-2013-2014/6zdy-fajb:

Retrieve all records where link is within 1 kilometer of Seattle, WA (47.598177,-122.33448):

https://health.data.ny.gov/resource/women-infants-and-children-wic-program-eligibility-criteria.json?$where=within_circle(link, 47.598177,-122.33448, 1000)