|
| 1 | +#!/usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | +import urllib2 |
| 4 | +import urllib |
| 5 | +import json |
| 6 | +import pprint |
| 7 | +import ckan_api |
| 8 | +from make_pkg import make_pkg |
| 9 | + |
| 10 | + |
| 11 | +ind4_1 = { |
| 12 | + "name" : "pct-adults-w-healthcare", |
| 13 | + "title" : "Percent of Adults with Health Coverage", |
| 14 | + "groups" : [{"name" : "access-to-health-care"}], |
| 15 | + "notes" : "Indicator: % of adults ages 18-64 who currently report having any kind of health care coverage. Source: BRFSS. Question: Do you have any kind of health care coverage, including health insurance, prepaid plans such as HMOs or government plans such as Medicare?", |
| 16 | +} |
| 17 | + |
| 18 | +ind4_2 = { |
| 19 | + "name" : "num-schip-participants", |
| 20 | + "title" : "Number SCHIP Participants", |
| 21 | + "groups" : [{"name" : "access-to-health-care"}], |
| 22 | + "notes" : "Indicator: # Alexandria's children participating in the federal State Children’s Health Insurance Program (SCHIP). Source: Virginia Department of Health, Division of Health Statistics", |
| 23 | +} |
| 24 | + |
| 25 | +ind4_3 = { |
| 26 | + "name" : "pct-deferred-care", |
| 27 | + "title" : "Percent People Deferring Health Care", |
| 28 | + "groups" : [{"name" : "access-to-health-care"}], |
| 29 | + "notes" : "Indicator: % of people indicating they needed to see a doctor in the past year and could not due to cost. Source: BRFSS", |
| 30 | +} |
| 31 | + |
| 32 | +ind4_4 = { |
| 33 | + "name" : "pct-prenatal-care", |
| 34 | + "title" : "Percent Women Receiving Prenatal Care", |
| 35 | + "groups" : [{"name" : "access-to-health-care"}], |
| 36 | + "notes" : "Indicator: % of women who received prenatal care in the first trimester of pregnancy. Source: Virginia Department of Health, Division of Health Statistics. http://www.vdh.state.va.us/epidemiology/DiseasePrevention/DAta/Quarterly/2nd%20Quarter%202011/Table6HIV_Q2.pdf", |
| 37 | +} |
| 38 | + |
| 39 | +ind4_5 = { |
| 40 | + "name" : "rate-new-hiv", |
| 41 | + "title" : "Rate of New HIV Diagnoses", |
| 42 | + "groups" : [{"name" : "access-to-health-care"}], |
| 43 | + "notes" : "Indicator: The total annual number of newly diagnosed cases of HIV per 100,000 people in the population. Source: Virginia Department of Health, Division of Health Statistics, http://www.vdh.state.va.us/epidemiology/DiseasePrevention/DAta/Quarterly/2nd%20Quarter%202011/Table6HIV_Q2.pdf", |
| 44 | +} |
| 45 | + |
| 46 | +ind4_6 = { |
| 47 | + "name" : "good-health", |
| 48 | + "title" : "Adults Reporting Good to Excellent Health", |
| 49 | + "groups" : [{"name" : "access-to-health-care"}], |
| 50 | + "notes" : "Indicator: % of adults who rated their health good to excellent. Source: BRFSS", |
| 51 | +} |
| 52 | + |
| 53 | +ind4_7 = { |
| 54 | + "name" : "flu-shot", |
| 55 | + "title" : "Percent Adults Receiving Flu Shot", |
| 56 | + "groups" : [{"name" : "access-to-health-care"}], |
| 57 | + "notes" : "Indicator: % adults who received seasonal influenza vaccine in past 12 months. Source: BRFSS", |
| 58 | +} |
| 59 | + |
| 60 | +ind4_8 = { |
| 61 | + "name" : "overweight", |
| 62 | + "title" : "Percent Adults Overweight or Obese", |
| 63 | + "groups" : [{"name" : "access-to-health-care"}], |
| 64 | + "notes" : "Indicator: % of adults overweight or obese in the population. Source: BRFSS", |
| 65 | +} |
| 66 | + |
| 67 | +ind4_10 = { |
| 68 | + "name" : "heart-mortality", |
| 69 | + "title" : "Rate of Heart Disease Mortality", |
| 70 | + "groups" : [{"name" : "access-to-health-care"}], |
| 71 | + "notes" : "Indicator: Heart Disease Mortality Rate. Source: Virginia Department of Health, Health Profile, Alexandria City, 2000-2009", |
| 72 | +} |
| 73 | + |
| 74 | +ind4_11 = { |
| 75 | + "name" : "cancer-mortality", |
| 76 | + "title" : "Rate of Cancer Mortality", |
| 77 | + "groups" : [{"name" : "access-to-health-care"}], |
| 78 | + "notes" : "Indicator: Cancer Mortality Rate. Source: Virginia Department of Health, Division of Health Statistics", |
| 79 | +} |
| 80 | + |
| 81 | +ind4_12 = { |
| 82 | + "name" : "infant-mortality", |
| 83 | + "title" : "Rate of Infant Mortality", |
| 84 | + "groups" : [{"name" : "access-to-health-care"}], |
| 85 | + "notes" : "Indicator: Infant mortality rate per 1,000 live births. Source: Virginia Department of Health, Health Profile, Alexandria City, 2000-2009", |
| 86 | +} |
| 87 | + |
| 88 | +ind4_13 = { |
| 89 | + "name" : "teen-pregnancy", |
| 90 | + "title" : "Rate of Teen Pregnancy", |
| 91 | + "groups" : [{"name" : "access-to-health-care"}], |
| 92 | + "notes" : "Indicator: Teen Pregnancy Rate (per 1000 girls). Source: Virginia Department of Health, Health Profile, Alexandria City, 2000-2009", |
| 93 | +} |
| 94 | + |
| 95 | +make_pkg(ind4_1) |
| 96 | +make_pkg(ind4_2) |
| 97 | +make_pkg(ind4_3) |
| 98 | +make_pkg(ind4_4) |
| 99 | +make_pkg(ind4_5) |
| 100 | +make_pkg(ind4_6) |
| 101 | +make_pkg(ind4_7) |
| 102 | +make_pkg(ind4_8) |
| 103 | +make_pkg(ind4_10) |
| 104 | +make_pkg(ind4_11) |
| 105 | +make_pkg(ind4_12) |
| 106 | +make_pkg(ind4_13) |
0 commit comments