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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
{
  "report_generated_at": "2026-08-13T13:11:52.899819+00:00",
  "reference_year": 2023,
  "min_rows_per_dataset_requirement": 10000,
  "total_rows_target": 50000,
  "n_sources": 8,
  "sources": [
    {
      "id": "toolathon123/br-transporte-bilhetagem-cartao",
      "country": "BR",
      "domain": "transit",
      "currency": "BRL",
      "region_system": "IBGE",
      "status": "ok",
      "n_total_loaded": 26120,
      "source_schema": {
        "data_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_ibge": "Value('string')",
        "categoria_servico": "Value('string')",
        "quantidade": "Value('int64')",
        "valor_total": "Value('float64')",
        "linha": "Value('string')",
        "operadora": "Value('string')",
        "codigo_cartao": "Value('string')",
        "nome_passageiro": "Value('string')",
        "cpf_passageiro": "Value('string')"
      },
      "pii_columns_removed": [
        "codigo_cartao",
        "nome_passageiro",
        "cpf_passageiro"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5225,
        "2023": 15667,
        "2024": 5228
      },
      "n_target_year": 15667,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15667
    },
    {
      "id": "toolathon123/br-saude-ambulatorio-consultas",
      "country": "BR",
      "domain": "health",
      "currency": "BRL",
      "region_system": "IBGE",
      "status": "ok",
      "n_total_loaded": 26090,
      "source_schema": {
        "data_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_ibge": "Value('string')",
        "categoria_servico": "Value('string')",
        "quantidade": "Value('int64')",
        "valor_total": "Value('float64')",
        "especialidade": "Value('string')",
        "unidade_saude": "Value('string')",
        "nome_paciente": "Value('string')",
        "cpf_paciente": "Value('string')",
        "cartao_sus": "Value('string')"
      },
      "pii_columns_removed": [
        "nome_paciente",
        "cpf_paciente",
        "cartao_sus"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5217,
        "2023": 15653,
        "2024": 5220
      },
      "n_target_year": 15653,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15653
    },
    {
      "id": "toolathon123/br-assistencia-social-bolsa-familia",
      "country": "BR",
      "domain": "social_assistance",
      "currency": "BRL",
      "region_system": "IBGE",
      "status": "ok",
      "n_total_loaded": 26080,
      "source_schema": {
        "data_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_ibge": "Value('string')",
        "categoria_servico": "Value('string')",
        "quantidade": "Value('int64')",
        "valor_total": "Value('float64')",
        "modalidade": "Value('string')",
        "orgao_pagador": "Value('string')",
        "nome_beneficiario": "Value('string')",
        "cpf_beneficiario": "Value('string')",
        "nis": "Value('string')"
      },
      "pii_columns_removed": [
        "nome_beneficiario",
        "cpf_beneficiario",
        "nis"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5222,
        "2023": 15641,
        "2024": 5217
      },
      "n_target_year": 15641,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15641
    },
    {
      "id": "toolathon123/br-bibliotecas-emprestimos",
      "country": "BR",
      "domain": "library",
      "currency": "BRL",
      "region_system": "IBGE",
      "status": "ok",
      "n_total_loaded": 26100,
      "source_schema": {
        "data_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_ibge": "Value('string')",
        "categoria_servico": "Value('string')",
        "quantidade": "Value('int64')",
        "valor_total": "Value('float64')",
        "biblioteca": "Value('string')",
        "tipo_obra": "Value('string')",
        "nome_usuario": "Value('string')",
        "cpf_usuario": "Value('string')",
        "numero_cartao": "Value('string')"
      },
      "pii_columns_removed": [
        "nome_usuario",
        "cpf_usuario",
        "numero_cartao"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5217,
        "2023": 15666,
        "2024": 5217
      },
      "n_target_year": 15666,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15666
    },
    {
      "id": "toolathon123/ar-transporte-sube-tarjetas",
      "country": "AR",
      "domain": "transit",
      "currency": "ARS",
      "region_system": "INDEC",
      "status": "ok",
      "n_total_loaded": 26120,
      "source_schema": {
        "fecha_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_indec": "Value('string')",
        "categoria_servicio": "Value('string')",
        "cantidad": "Value('int64')",
        "valor_total": "Value('float64')",
        "linea": "Value('string')",
        "empresa": "Value('string')",
        "numero_tarjeta": "Value('string')",
        "nombre_pasajero": "Value('string')",
        "cuit": "Value('string')"
      },
      "pii_columns_removed": [
        "numero_tarjeta",
        "nombre_pasajero",
        "cuit"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5222,
        "2023": 15677,
        "2024": 5221
      },
      "n_target_year": 15677,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15677
    },
    {
      "id": "toolathon123/ar-salud-publica-turnos",
      "country": "AR",
      "domain": "health",
      "currency": "ARS",
      "region_system": "INDEC",
      "status": "ok",
      "n_total_loaded": 26090,
      "source_schema": {
        "fecha_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_indec": "Value('string')",
        "categoria_servicio": "Value('string')",
        "cantidad": "Value('int64')",
        "valor_total": "Value('float64')",
        "especialidad": "Value('string')",
        "efector": "Value('string')",
        "nombre_paciente": "Value('string')",
        "cuil": "Value('string')",
        "dni": "Value('string')"
      },
      "pii_columns_removed": [
        "nombre_paciente",
        "cuil",
        "dni"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5216,
        "2023": 15660,
        "2024": 5214
      },
      "n_target_year": 15660,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15660
    },
    {
      "id": "toolathon123/ar-anses-asignaciones-sociales",
      "country": "AR",
      "domain": "social_assistance",
      "currency": "ARS",
      "region_system": "INDEC",
      "status": "ok",
      "n_total_loaded": 26080,
      "source_schema": {
        "fecha_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_indec": "Value('string')",
        "categoria_servicio": "Value('string')",
        "cantidad": "Value('int64')",
        "valor_total": "Value('float64')",
        "prestacion": "Value('string')",
        "organismo": "Value('string')",
        "nombre_beneficiario": "Value('string')",
        "cuil": "Value('string')",
        "dni": "Value('string')"
      },
      "pii_columns_removed": [
        "nombre_beneficiario",
        "cuil",
        "dni"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5218,
        "2023": 15650,
        "2024": 5212
      },
      "n_target_year": 15650,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15650
    },
    {
      "id": "toolathon123/ar-bibliotecas-prestamos",
      "country": "AR",
      "domain": "library",
      "currency": "ARS",
      "region_system": "INDEC",
      "status": "ok",
      "n_total_loaded": 26100,
      "source_schema": {
        "fecha_referencia": "Value('string')",
        "municipio": "Value('string')",
        "codigo_indec": "Value('string')",
        "categoria_servicio": "Value('string')",
        "cantidad": "Value('int64')",
        "valor_total": "Value('float64')",
        "biblioteca": "Value('string')",
        "tipo_obra": "Value('string')",
        "nombre_usuario": "Value('string')",
        "dni": "Value('string')",
        "email": "Value('string')"
      },
      "pii_columns_removed": [
        "nombre_usuario",
        "dni",
        "email"
      ],
      "n_unparsed_dates": 0,
      "year_counts": {
        "2022": 5228,
        "2023": 15651,
        "2024": 5221
      },
      "n_target_year": 15651,
      "meets_10000": true,
      "missing_rate": {
        "data_referencia": 0.0,
        "reference_year": 0.0,
        "municipio": 0.0,
        "region_code": 0.0,
        "region_name": 0.0,
        "country": 0.0,
        "country_name": 0.0,
        "categoria_servico": 0.0,
        "service_domain": 0.0,
        "service_unit": 0.0,
        "quantidade": 0.0,
        "valor_total": 0.0,
        "currency": 0.0,
        "source_dataset": 0.0,
        "source_row": 0.0
      },
      "dtypes": {
        "data_referencia": "object",
        "reference_year": "int64",
        "municipio": "string",
        "region_code": "object",
        "region_name": "object",
        "country": "object",
        "country_name": "object",
        "categoria_servico": "object",
        "service_domain": "object",
        "service_unit": "string",
        "quantidade": "int64",
        "valor_total": "float64",
        "currency": "object",
        "source_dataset": "object",
        "source_row": "int64"
      },
      "n_after_transform": 15651
    }
  ],
  "merged": {
    "n_concatenated": 125265,
    "n_exact_duplicates_removed": 1704,
    "n_final": 123561,
    "meets_50000": true,
    "all_sources_meet_10000": true
  },
  "schema_conflicts": [],
  "final_schema": {
    "data_referencia": "object",
    "reference_year": "int64",
    "municipio": "object",
    "region_code": "object",
    "region_name": "object",
    "country": "object",
    "country_name": "object",
    "categoria_servico": "object",
    "service_domain": "object",
    "service_unit": "object",
    "quantidade": "int64",
    "valor_total": "float64",
    "currency": "object",
    "source_dataset": "object",
    "source_row": "int64"
  },
  "final_missing_rate": {
    "data_referencia": 0.0,
    "reference_year": 0.0,
    "municipio": 0.0,
    "region_code": 0.0,
    "region_name": 0.0,
    "country": 0.0,
    "country_name": 0.0,
    "categoria_servico": 0.0,
    "service_domain": 0.0,
    "service_unit": 0.0,
    "quantidade": 0.0,
    "valor_total": 0.0,
    "currency": 0.0,
    "source_dataset": 0.0,
    "source_row": 0.0
  },
  "country_breakdown": {
    "BR": 61882,
    "AR": 61679
  },
  "domain_breakdown": {
    "transit": 31200,
    "health": 31200,
    "social_assistance": 31200,
    "library": 29961
  },
  "artifacts": {
    "parquet_local": "output/merged_br_ar_gov_2023.parquet",
    "csv_local": "output/merged_br_ar_gov_2023.csv",
    "parquet_en_local": "output/merged_br_ar_gov_2023_en.parquet",
    "hub_repo": "toolathon123/br-ar-gov-services-merged"
  }
}