csvhuman 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,303 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % Zika Cases per Country in South and Central America
3
+ % see https://data.humdata.org/dataset/387ec1a2-71c2-49e0-b4fd-21952c4d5ecf
4
+ %
5
+ % note: only the first couple of hundred of records included
6
+
7
+
8
+ FDF,PAHO Sub-Region,ISO-3,Country / territory,IFRC Sub-Region,Population,Tracker Update Date,Data Publication Date,EPI Week (year),EPI Week (outbreak),Cases
9
+ #severity,#region,#country+code+ISO3,#country+name,#region+IFRC,#population+total,#date+tracker+update,#date+data+publication,#date+EPIweek+year,#date+EPIweek+outbreak,#affected
10
+ Confirmed,Non Latin Caribbean,BRB,Barbados,Americas,283380,15th February 2016,2016-02-12,6,21,7
11
+ Deaths,Non Latin Caribbean,BRB,Barbados,Americas,283380,15th February 2016,2016-02-12,6,21,0
12
+ Suspected,Non Latin Caribbean,BRB,Barbados,Americas,283380,15th February 2016,2016-02-12,6,21,0
13
+ Confirmed,Andean,BOL,Bolivia,Americas,10561887,15th February 2016,2016-02-12,6,21,1
14
+ Deaths,Andean,BOL,Bolivia,Americas,10561887,15th February 2016,2016-02-12,6,21,0
15
+ Suspected,Andean,BOL,Bolivia,Americas,10561887,15th February 2016,2016-02-12,6,21,0
16
+ Confirmed,South Cone,BRA,Brazil,Americas,206077898,15th February 2016,2016-02-12,6,21,236
17
+ Deaths,South Cone,BRA,Brazil,Americas,206077898,15th February 2016,2016-02-12,6,21,4
18
+ Suspected,South Cone,BRA,Brazil,Americas,206077898,15th February 2016,2016-02-12,6,21,70611
19
+ Confirmed,Andean,COL,Colombia,Americas,47791393,15th February 2016,2016-02-12,6,21,1331
20
+ Deaths,Andean,COL,Colombia,Americas,47791393,15th February 2016,2016-02-12,6,21,3
21
+ Suspected,Andean,COL,Colombia,Americas,47791393,15th February 2016,2016-02-12,6,21,24314
22
+ Confirmed,Central America,CRI,Costa Rica,Americas,4757606,15th February 2016,2016-02-12,6,21,1
23
+ Deaths,Central America,CRI,Costa Rica,Americas,4757606,15th February 2016,2016-02-12,6,21,0
24
+ Suspected,Central America,CRI,Costa Rica,Americas,4757606,15th February 2016,2016-02-12,6,21,0
25
+ Confirmed,Non Latin Caribbean,CUW,Curaçao,Americas,155872,15th February 2016,2016-02-12,6,21,1
26
+ Deaths,Non Latin Caribbean,CUW,Curaçao,Americas,155872,15th February 2016,2016-02-12,6,21,0
27
+ Suspected,Non Latin Caribbean,CUW,Curaçao,Americas,155872,15th February 2016,2016-02-12,6,21,0
28
+ Confirmed,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,15th February 2016,2016-02-12,6,21,10
29
+ Deaths,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,15th February 2016,2016-02-12,6,21,0
30
+ Suspected,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,15th February 2016,2016-02-12,6,21,0
31
+ Confirmed,Andean,ECU,Ecuador,Americas,15902916,15th February 2016,2016-02-12,6,21,25
32
+ Deaths,Andean,ECU,Ecuador,Americas,15902916,15th February 2016,2016-02-12,6,21,0
33
+ Suspected,Andean,ECU,Ecuador,Americas,15902916,15th February 2016,2016-02-12,6,21,0
34
+ Confirmed,Central America,SLV,El Salvador,Americas,6107706,15th February 2016,2016-02-12,6,21,3
35
+ Deaths,Central America,SLV,El Salvador,Americas,6107706,15th February 2016,2016-02-12,6,21,0
36
+ Suspected,Central America,SLV,El Salvador,Americas,6107706,15th February 2016,2016-02-12,6,21,7923
37
+ Confirmed,Latin Caribbean,GUF,French Guiana,Americas,237549,15th February 2016,2016-02-12,6,21,88
38
+ Deaths,Latin Caribbean,GUF,French Guiana,Americas,237549,15th February 2016,2016-02-12,6,21,0
39
+ Suspected,Latin Caribbean,GUF,French Guiana,Americas,237549,15th February 2016,2016-02-12,6,21,430
40
+ Confirmed,Latin Caribbean,GLP,Guadeloupe,Americas,404635,15th February 2016,2016-02-12,6,21,17
41
+ Deaths,Latin Caribbean,GLP,Guadeloupe,Americas,404635,15th February 2016,2016-02-12,6,21,0
42
+ Suspected,Latin Caribbean,GLP,Guadeloupe,Americas,404635,15th February 2016,2016-02-12,6,21,0
43
+ Confirmed,Central America,GTM,Guatemala,Americas,16015494,15th February 2016,2016-02-12,6,21,105
44
+ Deaths,Central America,GTM,Guatemala,Americas,16015494,15th February 2016,2016-02-12,6,21,0
45
+ Suspected,Central America,GTM,Guatemala,Americas,16015494,15th February 2016,2016-02-12,6,21,278
46
+ Confirmed,Non Latin Caribbean,GUY,Guyana,Americas,763893,15th February 2016,2016-02-12,6,21,1
47
+ Deaths,Non Latin Caribbean,GUY,Guyana,Americas,763893,15th February 2016,2016-02-12,6,21,0
48
+ Suspected,Non Latin Caribbean,GUY,Guyana,Americas,763893,15th February 2016,2016-02-12,6,21,0
49
+ Confirmed,Latin Caribbean,HTI,Haiti,Americas,10572029,15th February 2016,2016-02-12,6,21,5
50
+ Deaths,Latin Caribbean,HTI,Haiti,Americas,10572029,15th February 2016,2016-02-12,6,21,0
51
+ Suspected,Latin Caribbean,HTI,Haiti,Americas,10572029,15th February 2016,2016-02-12,6,21,329
52
+ Confirmed,Central America,HND,Honduras,Americas,7961680,15th February 2016,2016-02-12,6,21,2
53
+ Deaths,Central America,HND,Honduras,Americas,7961680,15th February 2016,2016-02-12,6,21,0
54
+ Suspected,Central America,HND,Honduras,Americas,7961680,15th February 2016,2016-02-12,6,21,4590
55
+ Confirmed,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,15th February 2016,2016-02-12,6,21,1
56
+ Deaths,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,15th February 2016,2016-02-12,6,21,0
57
+ Suspected,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,15th February 2016,2016-02-12,6,21,0
58
+ Confirmed,Latin Caribbean,MTQ,Martinique,Americas,392291,15th February 2016,2016-02-12,6,21,12
59
+ Deaths,Latin Caribbean,MTQ,Martinique,Americas,392291,15th February 2016,2016-02-12,6,21,0
60
+ Suspected,Latin Caribbean,MTQ,Martinique,Americas,392291,15th February 2016,2016-02-12,6,21,3940
61
+ Confirmed,North America,MEX,Mexico,Americas,125385833,15th February 2016,2016-02-12,6,21,65
62
+ Deaths,North America,MEX,Mexico,Americas,125385833,15th February 2016,2016-02-12,6,21,0
63
+ Suspected,North America,MEX,Mexico,Americas,125385833,15th February 2016,2016-02-12,6,21,0
64
+ Confirmed,Central America,NIC,Nicaragua,Americas,6013913,15th February 2016,2016-02-12,6,21,47
65
+ Deaths,Central America,NIC,Nicaragua,Americas,6013913,15th February 2016,2016-02-12,6,21,0
66
+ Suspected,Central America,NIC,Nicaragua,Americas,6013913,15th February 2016,2016-02-12,6,21,0
67
+ Confirmed,Central America,PAN,Panama,Americas,3867535,15th February 2016,2016-02-12,6,21,42
68
+ Deaths,Central America,PAN,Panama,Americas,3867535,15th February 2016,2016-02-12,6,21,0
69
+ Suspected,Central America,PAN,Panama,Americas,3867535,15th February 2016,2016-02-12,6,21,0
70
+ Confirmed,South Cone,PRY,Paraguay,Americas,6552518,15th February 2016,2016-02-12,6,21,6
71
+ Deaths,South Cone,PRY,Paraguay,Americas,6552518,15th February 2016,2016-02-12,6,21,0
72
+ Suspected,South Cone,PRY,Paraguay,Americas,6552518,15th February 2016,2016-02-12,6,21,0
73
+ Confirmed,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,15th February 2016,2016-02-12,6,21,30
74
+ Deaths,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,15th February 2016,2016-02-12,6,21,0
75
+ Suspected,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,15th February 2016,2016-02-12,6,21,0
76
+ Confirmed,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,15th February 2016,2016-02-12,6,21,1
77
+ Deaths,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,15th February 2016,2016-02-12,6,21,0
78
+ Suspected,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,15th February 2016,2016-02-12,6,21,0
79
+ Confirmed,Non Latin Caribbean,SUR,Suriname,Americas,538248,15th February 2016,2016-02-12,6,21,6
80
+ Deaths,Non Latin Caribbean,SUR,Suriname,Americas,538248,15th February 2016,2016-02-12,6,21,4
81
+ Suspected,Non Latin Caribbean,SUR,Suriname,Americas,538248,15th February 2016,2016-02-12,6,21,1097
82
+ Confirmed,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,15th February 2016,2016-02-12,6,21,1
83
+ Deaths,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,15th February 2016,2016-02-12,6,21,0
84
+ Suspected,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,15th February 2016,2016-02-12,6,21,0
85
+ Confirmed,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,15th February 2016,2016-02-12,6,21,4
86
+ Deaths,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,15th February 2016,2016-02-12,6,21,1
87
+ Suspected,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,15th February 2016,2016-02-12,6,21,4696
88
+ Confirmed,Non Latin Caribbean,ABW,Aruba,Americas,103441,23rd February 2016,2016-02-18,7,22,4
89
+ Deaths,Non Latin Caribbean,ABW,Aruba,Americas,103441,23rd February 2016,2016-02-18,7,22,0
90
+ Suspected,Non Latin Caribbean,ABW,Aruba,Americas,103441,23rd February 2016,2016-02-18,7,22,0
91
+ Confirmed,Non Latin Caribbean,BRB,Barbados,Americas,283380,23rd February 2016,2016-02-18,7,22,7
92
+ Deaths,Non Latin Caribbean,BRB,Barbados,Americas,283380,23rd February 2016,2016-02-18,7,22,0
93
+ Suspected,Non Latin Caribbean,BRB,Barbados,Americas,283380,23rd February 2016,2016-02-18,7,22,0
94
+ Confirmed,Andean,BOL,Bolivia,Americas,10561887,23rd February 2016,2016-02-18,7,22,1
95
+ Deaths,Andean,BOL,Bolivia,Americas,10561887,23rd February 2016,2016-02-18,7,22,0
96
+ Suspected,Andean,BOL,Bolivia,Americas,10561887,23rd February 2016,2016-02-18,7,22,0
97
+ Confirmed,Non Latin Caribbean,BES,Bonaire,Americas,17408,23rd February 2016,2016-02-18,7,22,1
98
+ Deaths,Non Latin Caribbean,BES,Bonaire,Americas,17408,23rd February 2016,2016-02-18,7,22,0
99
+ Suspected,Non Latin Caribbean,BES,Bonaire,Americas,17408,23rd February 2016,2016-02-18,7,22,0
100
+ Confirmed,South Cone,BRA,Brazil,Americas,206077898,23rd February 2016,2016-02-18,7,22,534
101
+ Deaths,South Cone,BRA,Brazil,Americas,206077898,23rd February 2016,2016-02-18,7,22,4
102
+ Suspected,South Cone,BRA,Brazil,Americas,206077898,23rd February 2016,2016-02-18,7,22,72062
103
+ Confirmed,Andean,COL,Colombia,Americas,47791393,23rd February 2016,2016-02-18,7,22,1504
104
+ Deaths,Andean,COL,Colombia,Americas,47791393,23rd February 2016,2016-02-18,7,22,3
105
+ Suspected,Andean,COL,Colombia,Americas,47791393,23rd February 2016,2016-02-18,7,22,30051
106
+ Confirmed,Central America,CRI,Costa Rica,Americas,4757606,23rd February 2016,2016-02-18,7,22,1
107
+ Deaths,Central America,CRI,Costa Rica,Americas,4757606,23rd February 2016,2016-02-18,7,22,0
108
+ Suspected,Central America,CRI,Costa Rica,Americas,4757606,23rd February 2016,2016-02-18,7,22,0
109
+ Confirmed,Non Latin Caribbean,CUW,Curaçao,Americas,155872,23rd February 2016,2016-02-18,7,22,1
110
+ Deaths,Non Latin Caribbean,CUW,Curaçao,Americas,155872,23rd February 2016,2016-02-18,7,22,0
111
+ Suspected,Non Latin Caribbean,CUW,Curaçao,Americas,155872,23rd February 2016,2016-02-18,7,22,0
112
+ Confirmed,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,23rd February 2016,2016-02-18,7,22,10
113
+ Deaths,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,23rd February 2016,2016-02-18,7,22,0
114
+ Suspected,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,23rd February 2016,2016-02-18,7,22,0
115
+ Confirmed,Andean,ECU,Ecuador,Americas,15902916,23rd February 2016,2016-02-18,7,22,25
116
+ Deaths,Andean,ECU,Ecuador,Americas,15902916,23rd February 2016,2016-02-18,7,22,0
117
+ Suspected,Andean,ECU,Ecuador,Americas,15902916,23rd February 2016,2016-02-18,7,22,0
118
+ Confirmed,Central America,SLV,El Salvador,Americas,6107706,23rd February 2016,2016-02-18,7,22,3
119
+ Deaths,Central America,SLV,El Salvador,Americas,6107706,23rd February 2016,2016-02-18,7,22,0
120
+ Suspected,Central America,SLV,El Salvador,Americas,6107706,23rd February 2016,2016-02-18,7,22,7923
121
+ Confirmed,Latin Caribbean,GUF,French Guiana,Americas,237549,23rd February 2016,2016-02-18,7,22,99
122
+ Deaths,Latin Caribbean,GUF,French Guiana,Americas,237549,23rd February 2016,2016-02-18,7,22,0
123
+ Suspected,Latin Caribbean,GUF,French Guiana,Americas,237549,23rd February 2016,2016-02-18,7,22,790
124
+ Confirmed,Latin Caribbean,GLP,Guadeloupe,Americas,404635,23rd February 2016,2016-02-18,7,22,25
125
+ Deaths,Latin Caribbean,GLP,Guadeloupe,Americas,404635,23rd February 2016,2016-02-18,7,22,0
126
+ Suspected,Latin Caribbean,GLP,Guadeloupe,Americas,404635,23rd February 2016,2016-02-18,7,22,221
127
+ Confirmed,Central America,GTM,Guatemala,Americas,16015494,23rd February 2016,2016-02-18,7,22,105
128
+ Deaths,Central America,GTM,Guatemala,Americas,16015494,23rd February 2016,2016-02-18,7,22,0
129
+ Suspected,Central America,GTM,Guatemala,Americas,16015494,23rd February 2016,2016-02-18,7,22,278
130
+ Confirmed,Non Latin Caribbean,GUY,Guyana,Americas,763893,23rd February 2016,2016-02-18,7,22,1
131
+ Deaths,Non Latin Caribbean,GUY,Guyana,Americas,763893,23rd February 2016,2016-02-18,7,22,0
132
+ Suspected,Non Latin Caribbean,GUY,Guyana,Americas,763893,23rd February 2016,2016-02-18,7,22,0
133
+ Confirmed,Latin Caribbean,HTI,Haiti,Americas,10572029,23rd February 2016,2016-02-18,7,22,5
134
+ Deaths,Latin Caribbean,HTI,Haiti,Americas,10572029,23rd February 2016,2016-02-18,7,22,0
135
+ Suspected,Latin Caribbean,HTI,Haiti,Americas,10572029,23rd February 2016,2016-02-18,7,22,329
136
+ Confirmed,Central America,HND,Honduras,Americas,7961680,23rd February 2016,2016-02-18,7,22,2
137
+ Deaths,Central America,HND,Honduras,Americas,7961680,23rd February 2016,2016-02-18,7,22,0
138
+ Suspected,Central America,HND,Honduras,Americas,7961680,23rd February 2016,2016-02-18,7,22,4590
139
+ Confirmed,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,23rd February 2016,2016-02-18,7,22,1
140
+ Deaths,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,23rd February 2016,2016-02-18,7,22,0
141
+ Suspected,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,23rd February 2016,2016-02-18,7,22,0
142
+ Confirmed,Latin Caribbean,MTQ,Martinique,Americas,392291,23rd February 2016,2016-02-18,7,22,12
143
+ Deaths,Latin Caribbean,MTQ,Martinique,Americas,392291,23rd February 2016,2016-02-18,7,22,0
144
+ Suspected,Latin Caribbean,MTQ,Martinique,Americas,392291,23rd February 2016,2016-02-18,7,22,6050
145
+ Confirmed,North America,MEX,Mexico,Americas,125385833,23rd February 2016,2016-02-18,7,22,80
146
+ Deaths,North America,MEX,Mexico,Americas,125385833,23rd February 2016,2016-02-18,7,22,0
147
+ Suspected,North America,MEX,Mexico,Americas,125385833,23rd February 2016,2016-02-18,7,22,0
148
+ Confirmed,Central America,NIC,Nicaragua,Americas,6013913,23rd February 2016,2016-02-18,7,22,66
149
+ Deaths,Central America,NIC,Nicaragua,Americas,6013913,23rd February 2016,2016-02-18,7,22,0
150
+ Suspected,Central America,NIC,Nicaragua,Americas,6013913,23rd February 2016,2016-02-18,7,22,0
151
+ Confirmed,Central America,PAN,Panama,Americas,3867535,23rd February 2016,2016-02-18,7,22,60
152
+ Deaths,Central America,PAN,Panama,Americas,3867535,23rd February 2016,2016-02-18,7,22,0
153
+ Suspected,Central America,PAN,Panama,Americas,3867535,23rd February 2016,2016-02-18,7,22,0
154
+ Confirmed,South Cone,PRY,Paraguay,Americas,6552518,23rd February 2016,2016-02-18,7,22,6
155
+ Deaths,South Cone,PRY,Paraguay,Americas,6552518,23rd February 2016,2016-02-18,7,22,0
156
+ Suspected,South Cone,PRY,Paraguay,Americas,6552518,23rd February 2016,2016-02-18,7,22,0
157
+ Confirmed,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,23rd February 2016,2016-02-18,7,22,30
158
+ Deaths,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,23rd February 2016,2016-02-18,7,22,0
159
+ Suspected,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,23rd February 2016,2016-02-18,7,22,0
160
+ Confirmed,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,23rd February 2016,2016-02-18,7,22,7
161
+ Deaths,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,23rd February 2016,2016-02-18,7,22,0
162
+ Suspected,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,23rd February 2016,2016-02-18,7,22,0
163
+ Confirmed,Non Latin Caribbean,SUR,Suriname,Americas,538248,23rd February 2016,2016-02-18,7,22,6
164
+ Deaths,Non Latin Caribbean,SUR,Suriname,Americas,538248,23rd February 2016,2016-02-18,7,22,4
165
+ Suspected,Non Latin Caribbean,SUR,Suriname,Americas,538248,23rd February 2016,2016-02-18,7,22,1097
166
+ Confirmed,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,23rd February 2016,2016-02-18,7,22,1
167
+ Deaths,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,23rd February 2016,2016-02-18,7,22,0
168
+ Suspected,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,23rd February 2016,2016-02-18,7,22,0
169
+ Confirmed,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,23rd February 2016,2016-02-18,7,22,4
170
+ Deaths,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,23rd February 2016,2016-02-18,7,22,1
171
+ Suspected,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,23rd February 2016,2016-02-18,7,22,4696
172
+ Confirmed,Non Latin Caribbean,ABW,Aruba,Americas,103441,1st March 2016,2016-02-25,8,23,4
173
+ Deaths,Non Latin Caribbean,ABW,Aruba,Americas,103441,1st March 2016,2016-02-25,8,23,0
174
+ Suspected,Non Latin Caribbean,ABW,Aruba,Americas,103441,1st March 2016,2016-02-25,8,23,0
175
+ Confirmed,Non Latin Caribbean,BRB,Barbados,Americas,283380,1st March 2016,2016-02-25,8,23,7
176
+ Deaths,Non Latin Caribbean,BRB,Barbados,Americas,283380,1st March 2016,2016-02-25,8,23,0
177
+ Suspected,Non Latin Caribbean,BRB,Barbados,Americas,283380,1st March 2016,2016-02-25,8,23,0
178
+ Confirmed,Andean,BOL,Bolivia,Americas,10561887,1st March 2016,2016-02-25,8,23,1
179
+ Deaths,Andean,BOL,Bolivia,Americas,10561887,1st March 2016,2016-02-25,8,23,0
180
+ Suspected,Andean,BOL,Bolivia,Americas,10561887,1st March 2016,2016-02-25,8,23,0
181
+ Confirmed,Non Latin Caribbean,BES,Bonaire,Americas,17408,1st March 2016,2016-02-25,8,23,1
182
+ Deaths,Non Latin Caribbean,BES,Bonaire,Americas,17408,1st March 2016,2016-02-25,8,23,0
183
+ Suspected,Non Latin Caribbean,BES,Bonaire,Americas,17408,1st March 2016,2016-02-25,8,23,0
184
+ Confirmed,South Cone,BRA,Brazil,Americas,206077898,1st March 2016,2016-02-25,8,23,534
185
+ Deaths,South Cone,BRA,Brazil,Americas,206077898,1st March 2016,2016-02-25,8,23,4
186
+ Suspected,South Cone,BRA,Brazil,Americas,206077898,1st March 2016,2016-02-25,8,23,72062
187
+ Confirmed,Andean,COL,Colombia,Americas,47791393,1st March 2016,2016-02-25,8,23,1612
188
+ Deaths,Andean,COL,Colombia,Americas,47791393,1st March 2016,2016-02-25,8,23,3
189
+ Suspected,Andean,COL,Colombia,Americas,47791393,1st March 2016,2016-02-25,8,23,35399
190
+ Confirmed,Central America,CRI,Costa Rica,Americas,4757606,1st March 2016,2016-02-25,8,23,3
191
+ Deaths,Central America,CRI,Costa Rica,Americas,4757606,1st March 2016,2016-02-25,8,23,0
192
+ Suspected,Central America,CRI,Costa Rica,Americas,4757606,1st March 2016,2016-02-25,8,23,0
193
+ Confirmed,Non Latin Caribbean,CUW,Curaçao,Americas,155872,1st March 2016,2016-02-25,8,23,1
194
+ Deaths,Non Latin Caribbean,CUW,Curaçao,Americas,155872,1st March 2016,2016-02-25,8,23,0
195
+ Suspected,Non Latin Caribbean,CUW,Curaçao,Americas,155872,1st March 2016,2016-02-25,8,23,0
196
+ Confirmed,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,1st March 2016,2016-02-25,8,23,18
197
+ Deaths,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,1st March 2016,2016-02-25,8,23,0
198
+ Suspected,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,1st March 2016,2016-02-25,8,23,305
199
+ Confirmed,Andean,ECU,Ecuador,Americas,15902916,1st March 2016,2016-02-25,8,23,25
200
+ Deaths,Andean,ECU,Ecuador,Americas,15902916,1st March 2016,2016-02-25,8,23,0
201
+ Suspected,Andean,ECU,Ecuador,Americas,15902916,1st March 2016,2016-02-25,8,23,0
202
+ Confirmed,Central America,SLV,El Salvador,Americas,6107706,1st March 2016,2016-02-25,8,23,3
203
+ Deaths,Central America,SLV,El Salvador,Americas,6107706,1st March 2016,2016-02-25,8,23,0
204
+ Suspected,Central America,SLV,El Salvador,Americas,6107706,1st March 2016,2016-02-25,8,23,8584
205
+ Confirmed,Latin Caribbean,GUF,French Guiana,Americas,237549,1st March 2016,2016-02-25,8,23,99
206
+ Deaths,Latin Caribbean,GUF,French Guiana,Americas,237549,1st March 2016,2016-02-25,8,23,0
207
+ Suspected,Latin Caribbean,GUF,French Guiana,Americas,237549,1st March 2016,2016-02-25,8,23,790
208
+ Confirmed,Latin Caribbean,GLP,Guadeloupe,Americas,404635,1st March 2016,2016-02-25,8,23,25
209
+ Deaths,Latin Caribbean,GLP,Guadeloupe,Americas,404635,1st March 2016,2016-02-25,8,23,0
210
+ Suspected,Latin Caribbean,GLP,Guadeloupe,Americas,404635,1st March 2016,2016-02-25,8,23,221
211
+ Confirmed,Central America,GTM,Guatemala,Americas,16015494,1st March 2016,2016-02-25,8,23,105
212
+ Deaths,Central America,GTM,Guatemala,Americas,16015494,1st March 2016,2016-02-25,8,23,0
213
+ Suspected,Central America,GTM,Guatemala,Americas,16015494,1st March 2016,2016-02-25,8,23,278
214
+ Confirmed,Non Latin Caribbean,GUY,Guyana,Americas,763893,1st March 2016,2016-02-25,8,23,1
215
+ Deaths,Non Latin Caribbean,GUY,Guyana,Americas,763893,1st March 2016,2016-02-25,8,23,0
216
+ Suspected,Non Latin Caribbean,GUY,Guyana,Americas,763893,1st March 2016,2016-02-25,8,23,0
217
+ Confirmed,Latin Caribbean,HTI,Haiti,Americas,10572029,1st March 2016,2016-02-25,8,23,5
218
+ Deaths,Latin Caribbean,HTI,Haiti,Americas,10572029,1st March 2016,2016-02-25,8,23,0
219
+ Suspected,Latin Caribbean,HTI,Haiti,Americas,10572029,1st March 2016,2016-02-25,8,23,329
220
+ Confirmed,Central America,HND,Honduras,Americas,7961680,1st March 2016,2016-02-25,8,23,2
221
+ Deaths,Central America,HND,Honduras,Americas,7961680,1st March 2016,2016-02-25,8,23,0
222
+ Suspected,Central America,HND,Honduras,Americas,7961680,1st March 2016,2016-02-25,8,23,4590
223
+ Confirmed,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,1st March 2016,2016-02-25,8,23,1
224
+ Deaths,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,1st March 2016,2016-02-25,8,23,0
225
+ Suspected,Non Latin Caribbean,JAM,Jamaica,Americas,2721252,1st March 2016,2016-02-25,8,23,0
226
+ Confirmed,Latin Caribbean,MTQ,Martinique,Americas,392291,1st March 2016,2016-02-25,8,23,12
227
+ Deaths,Latin Caribbean,MTQ,Martinique,Americas,392291,1st March 2016,2016-02-25,8,23,0
228
+ Suspected,Latin Caribbean,MTQ,Martinique,Americas,392291,1st March 2016,2016-02-25,8,23,6050
229
+ Confirmed,North America,MEX,Mexico,Americas,125385833,1st March 2016,2016-02-25,8,23,93
230
+ Deaths,North America,MEX,Mexico,Americas,125385833,1st March 2016,2016-02-25,8,23,0
231
+ Suspected,North America,MEX,Mexico,Americas,125385833,1st March 2016,2016-02-25,8,23,0
232
+ Confirmed,Central America,NIC,Nicaragua,Americas,6013913,1st March 2016,2016-02-25,8,23,66
233
+ Deaths,Central America,NIC,Nicaragua,Americas,6013913,1st March 2016,2016-02-25,8,23,0
234
+ Suspected,Central America,NIC,Nicaragua,Americas,6013913,1st March 2016,2016-02-25,8,23,0
235
+ Confirmed,Central America,PAN,Panama,Americas,3867535,1st March 2016,2016-02-25,8,23,86
236
+ Deaths,Central America,PAN,Panama,Americas,3867535,1st March 2016,2016-02-25,8,23,0
237
+ Suspected,Central America,PAN,Panama,Americas,3867535,1st March 2016,2016-02-25,8,23,0
238
+ Confirmed,South Cone,PRY,Paraguay,Americas,6552518,1st March 2016,2016-02-25,8,23,6
239
+ Deaths,South Cone,PRY,Paraguay,Americas,6552518,1st March 2016,2016-02-25,8,23,0
240
+ Suspected,South Cone,PRY,Paraguay,Americas,6552518,1st March 2016,2016-02-25,8,23,0
241
+ Confirmed,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,1st March 2016,2016-02-25,8,23,30
242
+ Deaths,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,1st March 2016,2016-02-25,8,23,0
243
+ Suspected,Latin Caribbean,PRI,Puerto Rico,Americas,3548397,1st March 2016,2016-02-25,8,23,0
244
+ Confirmed,Non Latin Caribbean,VCT,Saint Vincent and the Grenadines,Americas,109360,1st March 2016,2016-02-25,8,23,1
245
+ Deaths,Non Latin Caribbean,VCT,Saint Vincent and the Grenadines,Americas,109360,1st March 2016,2016-02-25,8,23,0
246
+ Suspected,Non Latin Caribbean,VCT,Saint Vincent and the Grenadines,Americas,109360,1st March 2016,2016-02-25,8,23,0
247
+ Confirmed,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,1st March 2016,2016-02-25,8,23,7
248
+ Deaths,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,1st March 2016,2016-02-25,8,23,0
249
+ Suspected,Latin Caribbean,MAF,Saint-Martin (French),Americas,31530,1st March 2016,2016-02-25,8,23,0
250
+ Confirmed,Non Latin Caribbean,SXM,Sint Maarten,Americas,33609,1st March 2016,2016-02-25,8,23,2
251
+ Deaths,Non Latin Caribbean,SXM,Sint Maarten,Americas,33609,1st March 2016,2016-02-25,8,23,0
252
+ Suspected,Non Latin Caribbean,SXM,Sint Maarten,Americas,33609,1st March 2016,2016-02-25,8,23,0
253
+ Confirmed,Non Latin Caribbean,SUR,Suriname,Americas,538248,1st March 2016,2016-02-25,8,23,6
254
+ Deaths,Non Latin Caribbean,SUR,Suriname,Americas,538248,1st March 2016,2016-02-25,8,23,4
255
+ Suspected,Non Latin Caribbean,SUR,Suriname,Americas,538248,1st March 2016,2016-02-25,8,23,1097
256
+ Confirmed,Non Latin Caribbean,TTO,Trinidad and Tobago,Americas,1354483,1st March 2016,2016-02-25,8,23,1
257
+ Deaths,Non Latin Caribbean,TTO,Trinidad and Tobago,Americas,1354483,1st March 2016,2016-02-25,8,23,0
258
+ Suspected,Non Latin Caribbean,TTO,Trinidad and Tobago,Americas,1354483,1st March 2016,2016-02-25,8,23,0
259
+ Confirmed,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,1st March 2016,2016-02-25,8,23,4
260
+ Deaths,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,1st March 2016,2016-02-25,8,23,0
261
+ Suspected,Non Latin Caribbean,VIR,United States Virgin Islands,Americas,104170,1st March 2016,2016-02-25,8,23,59
262
+ Confirmed,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,1st March 2016,2016-02-25,8,23,4
263
+ Deaths,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,1st March 2016,2016-02-25,8,23,1
264
+ Suspected,Andean,VEN,Venezuela (Bolivarian Republic of),Americas,30693827,1st March 2016,2016-02-25,8,23,4696
265
+ Confirmed,Non Latin Caribbean,ABW,Aruba,Americas,103441,8th March 2016,2016-03-03,9,24,4
266
+ Deaths,Non Latin Caribbean,ABW,Aruba,Americas,103441,8th March 2016,2016-03-03,9,24,0
267
+ Suspected,Non Latin Caribbean,ABW,Aruba,Americas,103441,8th March 2016,2016-03-03,9,24,0
268
+ Confirmed,Non Latin Caribbean,BRB,Barbados,Americas,283380,8th March 2016,2016-03-03,9,24,9
269
+ Deaths,Non Latin Caribbean,BRB,Barbados,Americas,283380,8th March 2016,2016-03-03,9,24,0
270
+ Suspected,Non Latin Caribbean,BRB,Barbados,Americas,283380,8th March 2016,2016-03-03,9,24,277
271
+ Confirmed,Andean,BOL,Bolivia,Americas,10561887,8th March 2016,2016-03-03,9,24,1
272
+ Deaths,Andean,BOL,Bolivia,Americas,10561887,8th March 2016,2016-03-03,9,24,0
273
+ Suspected,Andean,BOL,Bolivia,Americas,10561887,8th March 2016,2016-03-03,9,24,0
274
+ Confirmed,Non Latin Caribbean,BES,Bonaire,Americas,17408,8th March 2016,2016-03-03,9,24,1
275
+ Deaths,Non Latin Caribbean,BES,Bonaire,Americas,17408,8th March 2016,2016-03-03,9,24,0
276
+ Suspected,Non Latin Caribbean,BES,Bonaire,Americas,17408,8th March 2016,2016-03-03,9,24,0
277
+ Confirmed,South Cone,BRA,Brazil,Americas,206077898,8th March 2016,2016-03-03,9,24,534
278
+ Deaths,South Cone,BRA,Brazil,Americas,206077898,8th March 2016,2016-03-03,9,24,4
279
+ Suspected,South Cone,BRA,Brazil,Americas,206077898,8th March 2016,2016-03-03,9,24,72062
280
+ Confirmed,Andean,COL,Colombia,Americas,47791393,8th March 2016,2016-03-03,9,24,1612
281
+ Deaths,Andean,COL,Colombia,Americas,47791393,8th March 2016,2016-03-03,9,24,3
282
+ Suspected,Andean,COL,Colombia,Americas,47791393,8th March 2016,2016-03-03,9,24,41094
283
+ Confirmed,Central America,CRI,Costa Rica,Americas,4757606,8th March 2016,2016-03-03,9,24,3
284
+ Deaths,Central America,CRI,Costa Rica,Americas,4757606,8th March 2016,2016-03-03,9,24,0
285
+ Suspected,Central America,CRI,Costa Rica,Americas,4757606,8th March 2016,2016-03-03,9,24,0
286
+ Confirmed,Non Latin Caribbean,CUW,Curaçao,Americas,155872,8th March 2016,2016-03-03,9,24,1
287
+ Deaths,Non Latin Caribbean,CUW,Curaçao,Americas,155872,8th March 2016,2016-03-03,9,24,0
288
+ Suspected,Non Latin Caribbean,CUW,Curaçao,Americas,155872,8th March 2016,2016-03-03,9,24,0
289
+ Confirmed,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,8th March 2016,2016-03-03,9,24,18
290
+ Deaths,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,8th March 2016,2016-03-03,9,24,0
291
+ Suspected,Latin Caribbean,DOM,Dominican Republic,Americas,10405943,8th March 2016,2016-03-03,9,24,395
292
+ Confirmed,Andean,ECU,Ecuador,Americas,15902916,8th March 2016,2016-03-03,9,24,40
293
+ Deaths,Andean,ECU,Ecuador,Americas,15902916,8th March 2016,2016-03-03,9,24,0
294
+ Suspected,Andean,ECU,Ecuador,Americas,15902916,8th March 2016,2016-03-03,9,24,115
295
+ Confirmed,Central America,SLV,El Salvador,Americas,6107706,8th March 2016,2016-03-03,9,24,3
296
+ Deaths,Central America,SLV,El Salvador,Americas,6107706,8th March 2016,2016-03-03,9,24,0
297
+ Suspected,Central America,SLV,El Salvador,Americas,6107706,8th March 2016,2016-03-03,9,24,8959
298
+ Confirmed,Latin Caribbean,GUF,French Guiana,Americas,237549,8th March 2016,2016-03-03,9,24,102
299
+ Deaths,Latin Caribbean,GUF,French Guiana,Americas,237549,8th March 2016,2016-03-03,9,24,0
300
+ Suspected,Latin Caribbean,GUF,French Guiana,Americas,237549,8th March 2016,2016-03-03,9,24,1030
301
+ Confirmed,Latin Caribbean,GLP,Guadeloupe,Americas,404635,8th March 2016,2016-03-03,9,24,35
302
+ Deaths,Latin Caribbean,GLP,Guadeloupe,Americas,404635,8th March 2016,2016-03-03,9,24,0
303
+ Suspected,Latin Caribbean,GLP,Guadeloupe,Americas,404635,8th March 2016,2016-03-03,9,24,389
@@ -0,0 +1,85 @@
1
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
+ % Extracted from the UNHCR Population Statistics Reference Database - United Nations High Commissioner for Refugees
3
+ % Date extracted: 2015-09-18 04:37:09 +02:00
4
+
5
+ Year,"Country / territory of asylum/residence",Origin,"Refugees (incl. refugee-like situations)","Asylum-seekers (pending cases)","Returned refugees","Internally displaced persons (IDPs)","Returned IDPs","Stateless persons","Others of concern","Total Population"
6
+ "#date +year","#country +residence","#country +origin","#affected +refugees","#affected +asylum","#affected +returned_refugees","#affected +idps","#affected +returned_idps","#affected +stateless","#affected +others","#affected +total"
7
+ 1951,Australia,Various/Unknown,180000,,,,,,,180000
8
+ 1951,Austria,Various/Unknown,282000,,,,,,,282000
9
+ 1951,Belgium,Various/Unknown,55000,,,,,,,55000
10
+ 1951,Canada,Various/Unknown,168511,,,,,,,168511
11
+ 1951,Switzerland,Various/Unknown,10000,,,,,,,10000
12
+ 1951,Germany,Various/Unknown,265000,,,,,,,265000
13
+ 1951,Denmark,Various/Unknown,2000,,,,,,,2000
14
+ 1951,Spain,Various/Unknown,2000,,,,,,,2000
15
+ 1951,France,Various/Unknown,290000,,,,,,,290000
16
+ 1951,"United Kingdom",Various/Unknown,208000,,,,,,,208000
17
+ 1951,Greece,Various/Unknown,18000,,,,,,,18000
18
+ 1951,"China, Hong Kong SAR",Various/Unknown,30000,,,,,,,30000
19
+ 1951,Italy,Various/Unknown,26500,,,,,,,26500
20
+ 1951,Luxembourg,Various/Unknown,1800,,,,,,,1800
21
+ 1951,Morocco,Various/Unknown,3000,,,,,,,3000
22
+ 1951,Netherlands,Various/Unknown,14200,,,,,,,14200
23
+ 1951,Norway,Various/Unknown,2500,,,,,,,2500
24
+ 1951,Sweden,Various/Unknown,44000,,,,,,,44000
25
+ 1951,Tunisia,Various/Unknown,2000,,,,,,,2000
26
+ 1951,Turkey,Various/Unknown,2700,,,,,,,2700
27
+ 1951,"United States of America",Various/Unknown,350000,,,,,,,350000
28
+ 1951,Various/Unknown,Various/Unknown,158800,,,,,,,158800
29
+ 1952,Austria,Various/Unknown,238200,,,,,,,238200
30
+ 1952,Belgium,Various/Unknown,53500,,,,,,,53500
31
+ 1952,Canada,Various/Unknown,154828,,,,,,,154828
32
+ 1952,Switzerland,Various/Unknown,9800,,,,,,,9800
33
+ 1952,Germany,Various/Unknown,240000,,,,,,,240000
34
+ 1952,Denmark,Various/Unknown,1800,,,,,,,1800
35
+ 1952,France,Various/Unknown,280000,,,,,,,280000
36
+ 1952,"United Kingdom",Various/Unknown,200000,,,,,,,200000
37
+ 1952,Greece,Various/Unknown,19000,,,,,,,19000
38
+ 1952,Italy,Various/Unknown,25500,,,,,,,25500
39
+ 1952,Luxembourg,Various/Unknown,1800,,,,,,,1800
40
+ 1952,Morocco,Various/Unknown,2900,,,,,,,2900
41
+ 1952,Netherlands,Various/Unknown,14100,,,,,,,14100
42
+ 1952,Norway,Various/Unknown,2500,,,,,,,2500
43
+ 1952,Sweden,Various/Unknown,42000,,,,,,,42000
44
+ 1952,Turkey,Various/Unknown,2000,,,,,,,2000
45
+ 1952,"United States of America",Various/Unknown,500000,,,,,,,500000
46
+ 1952,Various/Unknown,Various/Unknown,165000,,,,,,,165000
47
+ 1953,Austria,Various/Unknown,215200,,,,,,,215200
48
+ 1953,Belgium,Various/Unknown,53000,,,,,,,53000
49
+ 1953,Canada,Various/Unknown,107004,,,,,,,107004
50
+ 1953,Switzerland,Various/Unknown,9500,,,,,,,9500
51
+ 1953,Germany,Various/Unknown,228000,,,,,,,228000
52
+ 1953,Denmark,Various/Unknown,1600,,,,,,,1600
53
+ 1953,France,Various/Unknown,270000,,,,,,,270000
54
+ 1953,"United Kingdom",Various/Unknown,192000,,,,,,,192000
55
+ 1953,Greece,Various/Unknown,18500,,,,,,,18500
56
+ 1953,Italy,Various/Unknown,24500,,,,,,,24500
57
+ 1953,Luxembourg,Various/Unknown,1800,,,,,,,1800
58
+ 1953,Morocco,Various/Unknown,2800,,,,,,,2800
59
+ 1953,Netherlands,Various/Unknown,13900,,,,,,,13900
60
+ 1953,Norway,Various/Unknown,2500,,,,,,,2500
61
+ 1953,Sweden,Various/Unknown,37000,,,,,,,37000
62
+ 1953,Turkey,Various/Unknown,2000,,,,,,,2000
63
+ 1953,"United States of America",Various/Unknown,500000,,,,,,,500000
64
+ 1953,Various/Unknown,Various/Unknown,168000,,,,,,,168000
65
+ 1954,Austria,Various/Unknown,150000,,,,,,,150000
66
+ 1954,Belgium,Various/Unknown,53000,,,,,,,53000
67
+ 1954,Canada,Various/Unknown,75828,,,,,,,75828
68
+ 1954,Switzerland,Various/Unknown,9400,,,,,,,9400
69
+ 1954,Germany,Various/Unknown,225000,,,,,,,225000
70
+ 1954,Denmark,Various/Unknown,1400,,,,,,,1400
71
+ 1954,Spain,Various/Unknown,2000,,,,,,,2000
72
+ 1954,France,Various/Unknown,263000,,,,,,,263000
73
+ 1954,"United Kingdom",Various/Unknown,182000,,,,,,,182000
74
+ 1954,Greece,Various/Unknown,19000,,,,,,,19000
75
+ 1954,"China, Hong Kong SAR",Various/Unknown,22000,,,,,,,22000
76
+ 1954,Italy,Various/Unknown,21500,,,,,,,21500
77
+ 1954,Luxembourg,Various/Unknown,1800,,,,,,,1800
78
+ 1954,Morocco,Various/Unknown,3500,,,,,,,3500
79
+ 1954,Netherlands,Various/Unknown,12400,,,,,,,12400
80
+ 1954,Norway,Various/Unknown,2300,,,,,,,2300
81
+ 1954,Sweden,Various/Unknown,33000,,,,,,,33000
82
+ 1954,Tunisia,Various/Unknown,2000,,,,,,,2000
83
+ 1954,Turkey,Various/Unknown,2500,,,,,,,2500
84
+ 1954,"United States of America",Various/Unknown,500000,,,,,,,500000
85
+ 1954,Various/Unknown,Various/Unknown,168000,,,,,,,168000
@@ -0,0 +1,129 @@
1
+ # encoding: utf-8
2
+
3
+ ###
4
+ # to run use
5
+ # ruby -I ./lib -I ./test test/test_doc.rb
6
+
7
+
8
+ require 'helper'
9
+
10
+ class TestDoc < MiniTest::Test
11
+
12
+ include CsvHuman::DocHelper
13
+
14
+
15
+ ## def test_read
16
+ ## pp CsvHuman::Doc.read_attributes( "./scripts/pages/attributes.txt" )
17
+ ## pp CsvHuman::Doc.read_tags( "./scripts/pages/tags.txt" )
18
+ ## end
19
+
20
+
21
+
22
+ def test_match_hashtag
23
+ m=match_hashtag( '#org' )
24
+ assert_equal 'org', m[:name]
25
+ end
26
+
27
+ def test_match_attribute
28
+ m=match_attribute( '+f' )
29
+ assert_equal 'f', m[:name]
30
+ end
31
+
32
+ def test_parse_attributes
33
+ doc = CsvHuman::Doc.new( <<TXT )
34
+ 2.1. Sex- and-age disaggregation (SADD) attributes
35
+ +adolescents
36
+ Adolescents, loosely defined (precise age range varies); may overlap +children and +adult. You can optionally create custom attributes in addition to this to add precise age ranges, e.g. "+adolescents +age12_17". Since HXL 1.0
37
+
38
+ Associated hashtags
39
+ #affected
40
+ People/households affected
41
+ #inneed
42
+ People/households in need of assistance
43
+ #population
44
+ General population
45
+ #reached
46
+ People/households reached with assistance
47
+ #targeted
48
+ People/households targeted for assistance
49
+
50
+ +adults
51
+ Adults, loosely defined (precise age range varies); may overlap +adolescents and +elderly. You can optionally create custom attributes in addition to this to add precise age ranges, e.g. "+adults +age18_64". Since HXL 1.0
52
+
53
+ Associated hashtags
54
+ #affected
55
+ People/households affected
56
+ #inneed
57
+ People/households in need of assistance
58
+ #population
59
+ General population
60
+ #reached
61
+ People/households reached with assistance
62
+ #targeted
63
+ People/households targeted for assistance
64
+ TXT
65
+
66
+ attributes =
67
+ [["adolescents",
68
+ "1.0",
69
+ "(1) Sex- and-age disaggregation (SADD) attributes",
70
+ "#affected #inneed #population #reached #targeted",
71
+ "Adolescents, loosely defined (precise age range varies); may overlap +children and +adult. You can optionally create custom attributes in addition to this to add precise age ranges, e.g. \"+adolescents +age12_17\"."],
72
+ ["adults",
73
+ "1.0",
74
+ "(1) Sex- and-age disaggregation (SADD) attributes",
75
+ "#affected #inneed #population #reached #targeted",
76
+ "Adults, loosely defined (precise age range varies); may overlap +adolescents and +elderly. You can optionally create custom attributes in addition to this to add precise age ranges, e.g. \"+adults +age18_64\"."]]
77
+
78
+ assert_equal attributes, doc.parse_attributes
79
+ end
80
+
81
+
82
+ def test_parse_tags
83
+ doc = CsvHuman::Doc.new( <<TXT )
84
+ 1.1. Places
85
+ #adm1
86
+ Top-level subnational administrative area (e.g. a governorate in Syria). Since HXL 1.0.
87
+
88
+ Suggested attributes for #adm1
89
+ +code
90
+ Is a code or ID
91
+ +dest
92
+ Is a destination (place)
93
+ +name
94
+ Is a name or title
95
+ +origin
96
+ Is a place of origin
97
+
98
+ #adm2
99
+ Second-level subnational administrative area (e.g. a subdivision in Bangladesh). Since HXL 1.0.
100
+
101
+ Suggested attributes for #adm2
102
+ +code
103
+ Is a code or ID
104
+ +dest
105
+ Is a destination (place)
106
+ +name
107
+ Is a name or title
108
+ +origin
109
+ Is a place of origin
110
+ TXT
111
+
112
+ tags =
113
+ [["adm1",
114
+ nil,
115
+ "1.0",
116
+ "(1) Places",
117
+ "+code +dest +name +origin",
118
+ "Top-level subnational administrative area (e.g. a governorate in Syria)."],
119
+ ["adm2",
120
+ nil,
121
+ "1.0",
122
+ "(1) Places",
123
+ "+code +dest +name +origin",
124
+ "Second-level subnational administrative area (e.g. a subdivision in Bangladesh)."]]
125
+
126
+ assert_equal tags, doc.parse_tags
127
+ end
128
+
129
+ end # class TestDoc