-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata_dictionary.json
209 lines (209 loc) · 7.49 KB
/
data_dictionary.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
{
"tables": [
{
"table": "admissions",
"table_description":
"Dimension table. This data was extracted from original I94 Immigrations data to separate immigrant specific data from other data.",
"fields": [
{
"field_name": "admission_nbr",
"field_description":
"US I94 Admission number (admnum) given to a person when entrying the country."
},
{
"field_name": "country_code",
"field_description":
"3 letter country code (i94cit or i94res) used in I94 data to identify the immigrant country."
},
{
"field_name": "age",
"field_description": "Person's age (i94bir) defined in I94 data."
},
{
"field_name": "visa_type",
"field_description":
"Immigrant's visa type (visatype). Class of admission legally admitting the non-immigrant to temporarily stay in U.S."
},
{
"field_name": "visa_code",
"field_description":
"Immigrant's visa code (i94visa). Potential values: 1=Business, 2=Business, 3=Student."
},
{
"field_name": "person_gender",
"field_description":
"Immigrant's gender (non-US citizens). Potential values: M=man, F=female, NA=Not Available"
}
]
},
{
"table": "countries",
"table_description":
"Dimension table. This data was copied and further processed from original I94 Immigrations data Description file to describe immigrant home countries. I94 Country Codes are different than defined in ISO-3166 standard.",
"fields": [
{
"field_name": "country_code",
"field_description":
"US I94 Country Code (i94cit or i94res). e.g. 582 (Mexico). NOTE: these codes are different than defined in ISO-3166 standard for country codes."
},
{
"field_name": "country_name",
"field_description":
"US I94 Country Name (i94_country_name) used in I94 data to identify the immigrant country. E.g. Finland"
},
{
"field_name": "iso_ccode",
"field_description":
"A number identifying country in ISO-3166 standard. E.g. 76 (Brazil)"
},
{
"field_name": "iso_alpha_2",
"field_description":
"2 letter code identifying country in ISO-3166 standard. E.g. BR (Brazil)"
},
{
"field_name": "iso_alpha_3",
"field_description":
"3 letter code identifying country in ISO-3166 standard. E.g. BRA (Brazil)"
},
{
"field_name": "iso_3166_2",
"field_description":
"ISO code identifying country in ISO-3166 standard. E.g. ISO 3166-2:BR (Brazil)"
},
{
"field_name": "iso_country_name",
"field_description":
"Country name defined in ISO-3166 standard. E.g. Brazil"
},
{
"field_name": "iso_country_region",
"field_description":
"Country's region in ISO-3166 standard. E.g. Europa, Asia, Americas."
},
{
"field_name": "iso_sub_region",
"field_description":
"Country's sub-region in ISO-3166 standard. E.g. Western Europe, Western Asia, Northern America."
},
{
"field_name": "iso_region_code",
"field_description":
"Country's region code (number) in ISO-3166 standard. E.g. 19 (Latin America)"
},
{
"field_name": "iso_sub_region_code",
"field_description":
"Country's sub-region code (number) in ISO-3166 standard. E.g. 419 (Latin America and the Caribbean)"
}
]
},
{
"table": "airports",
"table_description":
"Dimension table. This data was extracted from original I94 Immigrations data Description file to describe airports used in immigrations. I94 Airport codes are different than used world wide e.g. IATA codes.",
"fields": [
{
"field_name": "airport_id",
"field_description":
"US I94 Airport ID (i94port). E.g. LOS (Los Angeles). NOTE: these codes are different than used world wide e.g. IATA standard for airport ids."
},
{
"field_name": "airport_name",
"field_description":
"Name of the airport used in I94 data. E.g. Los Angeles"
},
{
"field_name": "airport_state",
"field_description":
"US state (or other country name) where the airport is located. E.g. CA"
}
]
},
{
"table": "time",
"table_description":
"Dimension table. This data has been extracted from original I94 Immigrations data to describe the immigrations time events.",
"fields": [
{
"field_name": "arrival_ts",
"field_description":
"Timestamp of day when immigrant was granted access to US. E.g. 2016-01-01"
},
{
"field_name": "day",
"field_description": "Day (of the month) of immigration. E.g. 1"
},
{
"field_name": "week",
"field_description": "Week (of the year) of immigration. E.g. 1"
},
{
"field_name": "month",
"field_description": "Month (of the year) of immigration. E.g. 1"
},
{
"field_name": "year",
"field_description": "Year of immigration. E.g. 2016"
},
{
"field_name": "weekday",
"field_description":
"Day (of the week) of immigration. E.g. 1 (Monday)"
}
]
},
{
"table": "immigrations",
"table_description":
"Fact table. This data has been extracted from original I94 Immigrations data to bring together I94 Immigrations data.",
"fields": [
{
"field_name": "immigrations_id",
"field_description":
"Primary key. Generated ID for the immigration event. E.g. 154618828633"
},
{
"field_name": "arrival_ts",
"field_description":
"Secondary key to time-table. Timestamo for the immigration event. E.g. 2016-01-01 00:00:00"
},
{
"field_name": "airport_id",
"field_description":
"Secondary key to airports-table. Identifies immigration airport."
},
{
"field_name": "country_code",
"field_description":
"Secondary key to countries-table. Identifies immigrant's home country."
},
{
"field_name": "admission_nbr",
"field_description":
"Secondary key to admisisons-table. Identifies immigrant admission event."
},
{
"field_name": "arrival_mode",
"field_description":
"The mode immigrant entried US. Potential values: 1=Air, 2=Sea, 3=Land, 4=Not reported."
},
{
"field_name": "departure_date",
"field_description":
"Timestamp of the day the immigrant left US. May be empty (marked as NA) which means that the prsons has not left US."
},
{
"field_name": "airline",
"field_description":
"Airline immigrant used when entrying US. Maybe be empty (marked as NA)."
},
{
"field_name": "flight_nbr",
"field_description":
"Airline flight number immigrant used when etrying US. Maybe be empty (marked as NA)"
}
]
}
]
}