Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
jurisdiccion: string
nombre: string
inegi_id: string
tier: string
primary_url: string
periodico_oficial_url: string
updated_at: string
dry_run: bool
total_discovered: int64
total_abrogadas: int64
vigencia_por_archivo: struct<aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_2492.pdf: string, aguascaliente (... 14107 chars omitted)
  child 0, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_2492.pdf: string
  child 1, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_159.pdf: string
  child 2, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_160.pdf: string
  child 3, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_162.pdf: string
  child 4, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_167.pdf: string
  child 5, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_170.pdf: string
  child 6, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_176.pdf: string
  child 7, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_179.pdf: string
  child 8, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_180.pdf: string
  child 9, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_185.pdf: string
  child 10, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_187.pdf: string
  child 11, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_188.pdf: string
  child 12, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_190.pdf: s
...
al: int64
  child 2, states_direct_200_ok: int64
  child 3, states_waf_with_official_alt: int64
  child 4, estimated_immediate_docs_tier1: string
federal: list<item: struct<id: string, name: string, url: string, http_status: int64, pdfs_detected: int64, d (... 96 chars omitted)
  child 0, item: struct<id: string, name: string, url: string, http_status: int64, pdfs_detected: int64, docs_detecte (... 84 chars omitted)
      child 0, id: string
      child 1, name: string
      child 2, url: string
      child 3, http_status: int64
      child 4, pdfs_detected: int64
      child 5, docs_detected: int64
      child 6, ssl_verify: bool
      child 7, tier: string
      child 8, format: list<item: string>
          child 0, item: string
      child 9, notes: string
scope: string
states: list<item: struct<inegi_id: string, slug: string, estado: string, primary_url: string, secondary_url (... 175 chars omitted)
  child 0, item: struct<inegi_id: string, slug: string, estado: string, primary_url: string, secondary_url: string, a (... 163 chars omitted)
      child 0, inegi_id: string
      child 1, slug: string
      child 2, estado: string
      child 3, primary_url: string
      child 4, secondary_url: string
      child 5, abrogadas_url: string
      child 6, periodico_oficial_url: string
      child 7, http_status: int64
      child 8, pdfs_detected: int64
      child 9, docs_detected: int64
      child 10, ssl_verify: bool
      child 11, tier: string
      child 12, notes: string
to
{'generated_at': Value('timestamp[s]'), 'scope': Value('string'), 'summary': {'federal_sources_verified': Value('int64'), 'states_total': Value('int64'), 'states_direct_200_ok': Value('int64'), 'states_waf_with_official_alt': Value('int64'), 'estimated_immediate_docs_tier1': Value('string')}, 'federal': List({'id': Value('string'), 'name': Value('string'), 'url': Value('string'), 'http_status': Value('int64'), 'pdfs_detected': Value('int64'), 'docs_detected': Value('int64'), 'ssl_verify': Value('bool'), 'tier': Value('string'), 'format': List(Value('string')), 'notes': Value('string')}), 'states': List({'inegi_id': Value('string'), 'slug': Value('string'), 'estado': Value('string'), 'primary_url': Value('string'), 'secondary_url': Value('string'), 'abrogadas_url': Value('string'), 'periodico_oficial_url': Value('string'), 'http_status': Value('int64'), 'pdfs_detected': Value('int64'), 'docs_detected': Value('int64'), 'ssl_verify': Value('bool'), 'tier': Value('string'), 'notes': Value('string')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 131, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 574, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              jurisdiccion: string
              nombre: string
              inegi_id: string
              tier: string
              primary_url: string
              periodico_oficial_url: string
              updated_at: string
              dry_run: bool
              total_discovered: int64
              total_abrogadas: int64
              vigencia_por_archivo: struct<aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_2492.pdf: string, aguascaliente (... 14107 chars omitted)
                child 0, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_2492.pdf: string
                child 1, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_159.pdf: string
                child 2, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_160.pdf: string
                child 3, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_162.pdf: string
                child 4, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_167.pdf: string
                child 5, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_170.pdf: string
                child 6, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_176.pdf: string
                child 7, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_179.pdf: string
                child 8, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_180.pdf: string
                child 9, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_185.pdf: string
                child 10, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_187.pdf: string
                child 11, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_188.pdf: string
                child 12, aguascalientes_vigentes_agenda_legislativa_leyes_descargarPdf_190.pdf: s
              ...
              al: int64
                child 2, states_direct_200_ok: int64
                child 3, states_waf_with_official_alt: int64
                child 4, estimated_immediate_docs_tier1: string
              federal: list<item: struct<id: string, name: string, url: string, http_status: int64, pdfs_detected: int64, d (... 96 chars omitted)
                child 0, item: struct<id: string, name: string, url: string, http_status: int64, pdfs_detected: int64, docs_detecte (... 84 chars omitted)
                    child 0, id: string
                    child 1, name: string
                    child 2, url: string
                    child 3, http_status: int64
                    child 4, pdfs_detected: int64
                    child 5, docs_detected: int64
                    child 6, ssl_verify: bool
                    child 7, tier: string
                    child 8, format: list<item: string>
                        child 0, item: string
                    child 9, notes: string
              scope: string
              states: list<item: struct<inegi_id: string, slug: string, estado: string, primary_url: string, secondary_url (... 175 chars omitted)
                child 0, item: struct<inegi_id: string, slug: string, estado: string, primary_url: string, secondary_url: string, a (... 163 chars omitted)
                    child 0, inegi_id: string
                    child 1, slug: string
                    child 2, estado: string
                    child 3, primary_url: string
                    child 4, secondary_url: string
                    child 5, abrogadas_url: string
                    child 6, periodico_oficial_url: string
                    child 7, http_status: int64
                    child 8, pdfs_detected: int64
                    child 9, docs_detected: int64
                    child 10, ssl_verify: bool
                    child 11, tier: string
                    child 12, notes: string
              to
              {'generated_at': Value('timestamp[s]'), 'scope': Value('string'), 'summary': {'federal_sources_verified': Value('int64'), 'states_total': Value('int64'), 'states_direct_200_ok': Value('int64'), 'states_waf_with_official_alt': Value('int64'), 'estimated_immediate_docs_tier1': Value('string')}, 'federal': List({'id': Value('string'), 'name': Value('string'), 'url': Value('string'), 'http_status': Value('int64'), 'pdfs_detected': Value('int64'), 'docs_detected': Value('int64'), 'ssl_verify': Value('bool'), 'tier': Value('string'), 'format': List(Value('string')), 'notes': Value('string')}), 'states': List({'inegi_id': Value('string'), 'slug': Value('string'), 'estado': Value('string'), 'primary_url': Value('string'), 'secondary_url': Value('string'), 'abrogadas_url': Value('string'), 'periodico_oficial_url': Value('string'), 'http_status': Value('int64'), 'pdfs_detected': Value('int64'), 'docs_detected': Value('int64'), 'ssl_verify': Value('bool'), 'tier': Value('string'), 'notes': Value('string')})}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

No dataset card yet

Downloads last month
68

Spaces using esauromano/lexgro-corpus 2