@@ -252,37 +252,37 @@ def ethnicity_race_value(self, _list: list, key: str) -> str:
252252 target = _list [- 1 ]
253253
254254 hispanic_ = {
255- "Ethnicity=R;Race=S\\ " : "Hispanic or Latino. White." ,
256- "Ethnicity=R;Race=T\\ " : "Hispanic or Latino. American Indian or Alaska Native ." ,
257- "Ethnicity=R;Race=Q\\ " : "Hispanic or Latino. Black or African American." ,
258- "Ethnicity=R;Race=U\\ " : "Hispanic or Latino. Asian." ,
259- "Ethnicity=R;Race=V\\ " : "Hispanic or Latino. Native Hawaiian or Other Pacific Islander." ,
260- "Ethnicity=R;Race=QS\\ " : "Hispanic or Latino. Black or African American or White." ,
261- "Ethnicity=R;Race=US\\ " : "Hispanic or Latino. Asian or White." ,
262- "Ethnicity=R;Race=UV\\ " : "Hispanic or Latino. Asian, Native Hawaiian or Other Pacific Islander." ,
263- "Ethnicity=R;Race=TS\\ " : "Hispanic or Latino. American Indian, Alaska Native or White." ,
264- "Ethnicity=R;Race=ST\\ " : "Hispanic or Latino. American Indian, Alaska Native or White." ,
265- "Ethnicity=R;Race=UST\\ " : "Hispanic or Latino. Asian, White, American Indian or Alaska Native." ,
255+ "Ethnicity=R;Race=S\\ " : "Ethnicity= Hispanic or Latino. Race= White." ,
256+ "Ethnicity=R;Race=T\\ " : "Ethnicity= Hispanic or Latino. Race= American Indian or White ." ,
257+ "Ethnicity=R;Race=Q\\ " : "Ethnicity= Hispanic or Latino. Race= Black or African American." ,
258+ "Ethnicity=R;Race=U\\ " : "Ethnicity= Hispanic or Latino. Race= Asian." ,
259+ "Ethnicity=R;Race=V\\ " : "Ethnicity= Hispanic or Latino. Race= Native Hawaiian or Other Pacific Islander." ,
260+ "Ethnicity=R;Race=QS\\ " : "Ethnicity= Hispanic or Latino. Race= Black or African American or White." ,
261+ "Ethnicity=R;Race=US\\ " : "Ethnicity= Hispanic or Latino. Race= Asian or White." ,
262+ "Ethnicity=R;Race=UV\\ " : "Ethnicity= Hispanic or Latino. Race= Asian, Native Hawaiian or Other Pacific Islander." ,
263+ "Ethnicity=R;Race=TS\\ " : "Ethnicity= Hispanic or Latino. Race= American Indian, Alaska Native or White." ,
264+ "Ethnicity=R;Race=ST\\ " : "Ethnicity= Hispanic or Latino. Race= American Indian, Alaska Native or White." ,
265+ "Ethnicity=R;Race=UST\\ " : "Ethnicity= Hispanic or Latino. Race= Asian, White, American Indian or Alaska Native." ,
266266 }
267267
268268 not_hispanic_ = {
269- "Ethnicity=W\\ " : "Not Hispanic or Latino. Ethnicity=N/A." ,
270- "Ethnicity=W;Race=S\\ " : "Not Hispanic or Latino. White." ,
271- "Ethnicity=W;Race=T\\ " : "Not Hispanic or Latino. American Indian or Alaska Native ." ,
272- "Ethnicity=W;Race=Q\\ " : "Not Hispanic or Latino. Black or African American." ,
273- "Ethnicity=W;Race=U\\ " : "Not Hispanic or Latino. Asian." ,
274- "Ethnicity=W;Race=V\\ " : "Not Hispanic or Latino. Native Hawaiian or Other Pacific Islander." ,
275- "Ethnicity=W;Race=QS\\ " : "Not Hispanic or Latino. Black, African American or White." ,
276- "Ethnicity=W;Race=US\\ " : "Not Hispanic or Latino. Asian or White." ,
277- "Ethnicity=W;Race=UV\\ " : "Not Hispanic or Latino. Asian, Native Hawaiian or Other Pacific Islander." ,
278- "Ethnicity=W;Race=TS\\ " : "Not Hispanic or Latino. American Indian, Alaska Native or White." ,
279- "Ethnicity=W;Race=ST\\ " : "Not Hispanic or Latino. American Indian, Alaska Native or White." ,
280- "Ethnicity=W;Race=UST\\ " : "Not Hispanic or Latino. Asian, White, American Indian or Alaska Native." ,
269+ "Ethnicity=W\\ " : "Ethncity=Non Hispanic or Latino. Ethnicity=N/A." ,
270+ "Ethnicity=W;Race=S\\ " : "Ethncity=Non Hispanic or Latino. Race= White." ,
271+ "Ethnicity=W;Race=T\\ " : "Ethncity=Non Hispanic or Latino. Race= American Indian or White ." ,
272+ "Ethnicity=W;Race=Q\\ " : "Ethncity=Non Hispanic or Latino. Race= Black or African American." ,
273+ "Ethnicity=W;Race=U\\ " : "Ethncity=Non Hispanic or Latino. Race= Asian." ,
274+ "Ethnicity=W;Race=V\\ " : "Ethncity=Non Hispanic or Latino. Native Hawaiian or Other Pacific Islander." ,
275+ "Ethnicity=W;Race=QS\\ " : "Ethncity=Non Hispanic or Latino. Black, African American or White." ,
276+ "Ethnicity=W;Race=US\\ " : "Ethncity=Non Hispanic or Latino. Race= Asian or White." ,
277+ "Ethnicity=W;Race=UV\\ " : "Ethncity=Non Hispanic or Latino. Race= Asian, Native Hawaiian or Other Pacific Islander." ,
278+ "Ethnicity=W;Race=TS\\ " : "Ethncity=Non Hispanic or Latino. Race= American Indian, Alaska Native or White." ,
279+ "Ethnicity=W;Race=ST\\ " : "Ethncity=Non Hispanic or Latino. Race= American Indian, Alaska Native or White." ,
280+ "Ethnicity=W;Race=UST\\ " : "Ethncity=Non Hispanic or Latino. Race= Asian, White, American Indian or Alaska Native." ,
281281 }
282282
283283 other_ = {
284- "Ethnicity=\\ " : "Gender =N/A. Ethnicity =N/A." ,
285- "Ethnicity=R\\ " : "Hispanic or Latino. Ethnicity =N/A." ,
284+ "Ethnicity=\\ " : "Ethnicity =N/A. Race =N/A." ,
285+ "Ethnicity=R\\ " : "Ethnicity= Hispanic or Latino. Race =N/A." ,
286286 }
287287
288288 dictionaries = [hispanic_ , not_hispanic_ , other_ ]
@@ -331,7 +331,7 @@ def gender_value(self, _list: list, key: str) -> str:
331331
332332 for key , value in gender_ .items ():
333333 if key == target :
334- return value
334+ return f'DOB: { _list [ 2 ][: 4 ] } - { _list [ 2 ][ 4 : 6 ] } - { _list [ 2 ][ 6 :] } { value } '
335335
336336 def extra_value (self , _list : list , key : str ) -> str :
337337
0 commit comments