Child And Adult Care Food Program Participation: Beginning 2007

The Child and Adult Care Food Program (CACFP) is a nutrition education and meal reimbursement program helping providers serve nutritious and safely prepared meals and snacks to children and adults in day care settings. This dataset includes the names and locations of participating day care sites and whether or not the site is Breastfeeding Friendly Certified with CACFP, participating in the Eat Well Play Hard in Child Care Settings (EWPHCCS) project, or participating in the Eat Well Play Hard in Day Care Homes (EWPHDCH) project. This dataset excludes Child and Adult Care Food Program participation provided at homeless shelters and legally-exempt day care home providers. Not all counties in NYS are serviced by the grantees implementing the project EWPHCSS. The EWPHDCH project is currently limited to the areas served by the contracted agencies. The Child and Adult Care Food Program dataset is related to the Child Care Related Programs dataset on the www.Open.ny.gov website, however this dataset includes additional nutrition information. The Office of Children and Family Services (OCFS) is currently working to update the Child Care Related Programs dataset on a more frequent schedule with the OPEN NY team. OCFS and DOH will then be able to synchronize in the near future. Temporarily, DOH has omitted addresses for regulated child care providers that provide home care since this information is available on www.Open.ny.gov by using this link: https://data.ny.gov/Human-Services/Child-Care-Regulated-Programs/cb42-qumz. For more information, please visit http://www.health.ny.gov/prevention/nutrition/cacfp/ or go to the "About" tab. This data set is available at: https://health.data.ny.gov/Health/Child-And-Adult-Care-Food-Program-Participation-Be/dmn7-mpa8

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 Child And Adult Care Food Program Participation: Beginning 2007 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/child-and-adult-care-food-program-participation-beginning-2007.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/child-and-adult-care-food-program-participation-beginning-2007.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/child-and-adult-care-food-program-participation-beginning-2007.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/child-and-adult-care-food-program-participation-beginning-2007.json?recall_id=94"

Fields

The following fields are available on the Child And Adult Care Food Program Participation: Beginning 2007 API.

county

Human Name: County
Type: text
Counties where the participating site is located

site_name

Human Name: Site Name
Type: text
Name of the participating site

Examples

Retrieve all records with site_name equal to Zuckerberg, Jennifer:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(site_name, 47.598177,-122.33448, 1000)

address_omitted

Human Name: Address Omitted
Type: text
Temporarily, we have omitted addresses for regulated child care providers that provide home care since this information is available on Open.ny.gov by using this link: https://data.ny.gov/Human-Services/Child-Care-Regulated-Programs/cb42-qumz.

Examples

Retrieve all records with address_omitted equal to Yes:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(address_omitted, 47.598177,-122.33448, 1000)

street1

Human Name: Street1
Type: text
Street Address1 of the participating site

Examples

Retrieve all records with street1 equal to YONKERS MIDDLE SCHOOL/HIGH SCHOOL:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(street1, 47.598177,-122.33448, 1000)

street2

Human Name: Street2
Type: text
Street Address2 of the participating site

Examples

Retrieve all records with street2 equal to VALLEY CHAPEL CHURCH 3415 SO MAIN ST:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(street2, 47.598177,-122.33448, 1000)

city

Human Name: City
Type: text
City of the participating site

Examples

Retrieve all records with city equal to YORKTOWN HEIGHTS:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(city, 47.598177,-122.33448, 1000)

state

Human Name: State
Type: text
State the participating site is located

zipcode

Human Name: Zip Code
Type: text
Zip code of the participating site

program_type

Human Name: Program Type
Type: text
Program Type of the participating site (Home or Center)

Examples

Retrieve all records with program_type equal to Home:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(program_type, 47.598177,-122.33448, 1000)

approval_license_type

Human Name: Approval/License Type
Type: text
Approval /License Type of the participating site

Examples

Retrieve all records with approval_license_type equal to Unlicensed: Teen Only:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(approval_license_type, 47.598177,-122.33448, 1000)

site_type

Human Name: Site Type
Type: text
Site types are: Adult Care, Child Care, Head Start, Licensed, Military, Registered, School Age, and Tribal

Examples

Retrieve all records with site_type equal to Tribal:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(site_type, 47.598177,-122.33448, 1000)

breastfeeding_friendly_certified

Human Name: Breastfeeding-Friendly Certified
Type: text
The Child and Adult Care Food Program encourages child care centers and family day care homes to support breastfeeding families and recognizes these providers with Breastfeeding Friendly certificates. Participating sites that have completed the requiremen

Examples

Retrieve all records with breastfeeding_friendly_certified equal to Yes:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(breastfeeding_friendly_certified, 47.598177,-122.33448, 1000)

eat_well_play_hard_ccs_participant

Human Name: Eat Well/Play Hard CCS Participant
Type: text
Day Care Center sites that have completed the full Eat Well Play Hard in Child Care Settings (EWPHCCS) educational program of child, parent and staff classes. Values are Yes and No.

Examples

Retrieve all records with eat_well_play_hard_ccs_participant equal to Yes:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(eat_well_play_hard_ccs_participant, 47.598177,-122.33448, 1000)

last_ewphccs_participation

Human Name: Last EWPHCCS Participation
Type: text
The most recent year a center has participated in the Eat Well Play Hard in Child Care Settings program

Examples

Retrieve all records with last_ewphccs_participation equal to N/A:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(last_ewphccs_participation, 47.598177,-122.33448, 1000)

eat_well_play_hard_dch_participant

Human Name: Eat Well/Play Hard DCH Participant
Type: text
Day Care Home Provider Sites that have completed the full Eat Well Play Hard in Day Care Homes (EWPHDCH) environmental program requirements. In particular, DCH providers are asked to focus on increasing the variety of fruits and vegetables offered at the

Examples

Retrieve all records with eat_well_play_hard_dch_participant equal to Yes:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(eat_well_play_hard_dch_participant, 47.598177,-122.33448, 1000)

last_ewphdch_participation

Human Name: Last EWPHDCH Participation
Type: text
The most recent year a center has participated in the EWPHDCH program

Examples

Retrieve all records with last_ewphdch_participation equal to N/A:

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

https://health.data.ny.gov/resource/child-and-adult-care-food-program-participation-beginning-2007.json?$where=within_circle(last_ewphdch_participation, 47.598177,-122.33448, 1000)