-
Notifications
You must be signed in to change notification settings - Fork 1
/
make_pkg_theme10.py
34 lines (29 loc) · 1.04 KB
/
make_pkg_theme10.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2
import urllib
import json
import pprint
import ckan_api
from make_pkg import make_pkg
ind10_1 = {
"name" : "air-quality",
"title" : "Air Quality",
"groups" : [{"name" : "cleanliness-and-beautification"}],
"notes" : "Indicator: Number of “Air Quality Action” days per year. Source: Environmental Quality Commission",
}
ind10_2 = {
"name" : "environmental-health",
"title" : "Environmental Health",
"groups" : [{"name" : "cleanliness-and-beautification"}],
"notes" : "Indicator: Number of complaints to Environmental Health regarding perceived environmental hazards (mold, radon, toxic exposures, etc.) or pests (bedbugs, mosquitoes, ticks etc.). Source: Alexandria Health Department",
}
ind10_3 = {
"name" : "recycling",
"title" : "Recycling",
"groups" : [{"name" : "cleanliness-and-beautification"}],
"notes" : "Indicator: % of solid waste recycled. Source: Environmental Quality Commission",
}
make_pkg(ind10_1)
make_pkg(ind10_2)
make_pkg(ind10_3)