-
Notifications
You must be signed in to change notification settings - Fork 0
/
datapackage.json
250 lines (241 loc) · 7.03 KB
/
datapackage.json
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "children-by-family-type",
"datapackage_version": "1.0-beta.18",
"title": "Children by Family Type",
"description": "Children by Family Type reports the number and percent of children living in families by child age and by family type.",
"version": "1.0",
"licenses": [{
"url": "http://opendatacommons.org/licenses/pddl/",
"name": "Open Data Commons Public Domain",
"version": "1.0",
"id": "odc-pddl"
}],
"sources": [{
"name": "uscensus",
"web": ""
}],
"author":[{
"name": "CTData Collaborative",
"email": "info@ctdata.org",
"web": "https://ctdata.org"
}],
"contributor": [],
"resources": [{
"path": "data/children_by_family_type-2020.csv",
"format": "csv",
"schema": {
"fields": [{
"name": "Town",
"type": "string",
"dimension": false
}, {
"name": "FIPS",
"type": "string",
"dimension": false
}, {
"name": "Year",
"type": "string",
"dimension": false
}, {
"name": "Family Type",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Married-couple Family",
"Single-parent Familiy, Male Parent",
"Single-parent Family",
"Single-parent Family, Female Parent",
"Total"]
}
}, {
"name": "Age of Child",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Total",
"Under 3 years",
"3 to 4 years",
"5 years",
"6 to 11 years",
"12 to 17 years"]
}
}, {
"name": "Measure Type",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Number", "Percent"]
}
}, {
"name": "Variable",
"type": "string",
"dimension": true,
"constraints": {
"enum": ["Children Under 18", "Margins of Error"]
}
}, {
"name": "Value",
"type": "number",
"dimension": false
}]
}
}
],
"last_modified": "07/08/2022",
"ckan_extras": {
"full_description": {
"ckan_name": "Full Description",
"value": "Children are any never-married person under 18 years who is a son or daughter by birth, a stepchild, or an adopted child of the householder. In this dataset, own children are further classified as living with two parents or with one parent only, and own children living with one parent only are further classified by the gender of the parent. This data originates from the American Community Survey 5-Year estimates, table B09002.",
"type": "string"
},
"suppression": {
"ckan_name": "Suppression",
"value": "",
"type": "string"
},
"technical_notes": {
"ckan_name": "Technical Notes",
"value": "",
"type": "string"
},
"socrata": {
"ckan_name": "Socrata",
"value": "False",
"type": "string"
},
"socrata_url": {
"ckan_name": "Socrata Dataset URL",
"value": "",
"type": "string"
},
"socrata_dataset_name": {
"ckan_name": "Socrata Dataset Name",
"value": "",
"type": "string"
},
"domain": {
"ckan_name": "Domain",
"value": "Demographics",
"type": "string"
},
"numerator": {
"ckan_name": "Numerator",
"value": "Own Children by age and family type.",
"type": "string"
},
"denominator": {
"ckan_name": "Denominator",
"value": "Children living in families.",
"type": "string"
},
"subdomain": {
"ckan_name": "Subdomain",
"value": "Family Structure",
"type": "string"
},
"geography": {
"ckan_name": "Geography",
"value": "Town",
"type": "string",
"constraints": {"enum": ["Town", "County", "Town/County", "District", "Other"]}
},
"frequency": {
"ckan_name": "Frequency",
"value": "Annual",
"type": "string"
},
"years_in_catalog": {
"ckan_name": "Years in Catalog",
"value": ["2006-2010", "2007-2011", "2008-2012", "2009-2013", "2010-2014", "2011-2015", "2012-2016", "2013-2017", "2014-2018", "2015-2019", "2016-2020"],
"type": "array"
},
"latest_year": {
"ckan_name": "Latest Year Available",
"value": "2016-2020",
"type": "string"
},
"disabled_views": {
"ckan_name": "Disabled Views",
"value": [],
"type": "array",
"constraints": {"enum": ["map", "table", "bar", "line"]}
},
"units": {
"ckan_name": "Units",
"value": {
"Number": "",
"Percent": "%"
}
},
"expected_number_of_geographies": {
"ckan_name": "Expected Number of Unique Geographies",
"value": 170,
"type": "string"
},
"default": {
"ckan_name": "Default",
"value": {
"Town": "Connecticut",
"Year": ["2016-2020"],
"Family Type": "Total",
"Age of Child": "Total",
"Measure Type": "Number",
"Variable": "Children Under 18"
},
"type": "object"
}
},
"spot_checks": [
{
"type": "$lookup",
"filter": {
"Town": "Bridgeport",
"Year": "2012-2016",
"Variable": "Children Under 18",
"Measure Type": "Number",
"Family Type": "Total",
"Age of Child": "Under 3 years"
},
"expected": {
"type": "$match",
"number type": "int",
"value": 4723
}
}
],
"dimension_groups": [
{
"Measure Type": ["Number"],
"Family Type": ["Total",
"Married-couple Family",
"Single-parent Familiy, Male Parent",
"Single-parent Family",
"Single-parent Family, Female Parent"],
"Age of Child": ["Total",
"Under 3 years",
"3 to 4 years",
"5 years",
"6 to 11 years",
"12 to 17 years"],
"Variable": ["Children Under 18",
"Margins of Error"]
},
{
"Measure Type": ["Percent"],
"Family Type": ["Total"],
"Age of Child": ["Under 3 years", "3 to 4 years",
"5 years", "6 to 11 years", "12 to 17 years"],
"Variable": ["Children Under 18", "Margins of Error"]
} ,
{
"Measure Type": ["Percent"],
"Family Type": ["Married-couple Family",
"Single-parent Familiy, Male Parent",
"Single-parent Family",
"Single-parent Family, Female Parent"],
"Age of Child": ["Total", "Under 3 years", "3 to 4 years",
"5 years", "6 to 11 years", "12 to 17 years"],
"Variable": ["Children Under 18", "Margins of Error"]
}
]
}