Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      JSON parse error: Column(/data/[]/id) changed from string to number in row 0
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 174, in _generate_tables
                  df = pandas_read_json(f)
                       ^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
                  return pd.read_json(path_or_buf, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 815, in read_json
                  return json_reader.read()
                         ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1014, in read
                  obj = self._get_object_parser(self.data)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
                  obj = FrameParser(json, **kwargs).parse()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1176, in parse
                  self._parse()
                File "/usr/local/lib/python3.12/site-packages/pandas/io/json/_json.py", line 1391, in _parse
                  self.obj = DataFrame(
                             ^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/core/frame.py", line 778, in __init__
                  mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
                  return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
                  index = _extract_index(arrays)
                          ^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/pandas/core/internals/construction.py", line 680, in _extract_index
                  raise ValueError(
              ValueError: Mixing dicts with non-Series may lead to ambiguous ordering.
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3496, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2257, in _head
                  return next(iter(self.iter(batch_size=n)))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2461, in iter
                  for key, example in iterator:
                                      ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1952, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1974, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 503, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 350, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 177, in _generate_tables
                  raise e
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 151, in _generate_tables
                  pa_table = paj.read_json(
                             ^^^^^^^^^^^^^^
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: JSON parse error: Column(/data/[]/id) changed from string to number in row 0

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.

Global Drillhole Database

3,958,882+ drill holes from geological surveys worldwide.

Dataset Summary

Region Records Type Source
πŸ‡¦πŸ‡Ί Western Australia 3,020,000 Drill holes DMIRS WAMEX
πŸ‡¨πŸ‡¦ Canada 378,666 Drill holes + occurrences Provincial surveys
πŸ‡ΏπŸ‡¦ South Africa 262,213 Boreholes + samples CGS Portal
πŸ‡¦πŸ‡Ί South Australia 200,164 Drill holes SARIG
πŸ‡¬πŸ‡± Greenland 59,715 Drill cores + samples GEUS
πŸ‡¦πŸ‡Ί Tasmania 38,124 Boreholes MRT
TOTAL 3,958,882

πŸ‡ΏπŸ‡¦ South Africa Breakdown (NEW!)

Source Type Records
CGS Borehole Positions Exploration 67,330
CGS Coal & Core Coal Exploration 65,535
CGS Dolomitic Land Karst Investigation 64,418
CGS Geotechnical Engineering 25,471
CGS Trial Holes Test Pits 18,874
CGS Dolomite Reports Reports 8,847
CGS Petrophysics Rock Samples 11,738
Total 262,213

Note: An additional ~282,890 boreholes are available in South Africa's National Groundwater Archive (NGA) with free registration at https://www.dws.gov.za/NGANet/

Canada Breakdown

  • Quebec (SIGEOM): 185,322
  • Ontario (ODHD): 166,281
  • British Columbia (MINFILE): 15,789
  • Saskatchewan (SMDI): 6,012
  • Manitoba (MGS): 4,996
  • Alberta (AGS): 266

Greenland Breakdown

  • Rock Samples: 20,000
  • Ujarassiorit (citizen samples): 20,000
  • Stream Sediments: 9,787
  • Drill Cores: 4,817
  • Heavy Minerals: 1,692
  • Soil Samples: 1,494
  • Mineral Occurrences: 1,276
  • EMODnet Offshore: 550
  • Scree Samples: 99

Schema

Field Type Description
id string Unique identifier / hole ID
name string Hole name
lat float Latitude (WGS84)
lon float Longitude (WGS84)
region string State/Province/Country
country string Country code (CA, AU, US, GL, ZA)
source string Data source
type string drill_hole, mineral_occurrence, borehole, rock_sample
commodity string Target commodity (Gold, Copper, Coal, etc.)
depth float Total depth (meters)
year int Year drilled
url string Source URL

Data Files

File Records Format
data/western_australia.parquet 3,020,000 Parquet
data/canada.json 378,666 JSON
data/south_africa.parquet 262,213 Parquet
data/south_africa.json 262,213 JSON
data/south_australia.json 200,164 JSON
data/greenland.json 59,715 JSON
data/tasmania.json 38,124 JSON

Usage

from datasets import load_dataset

# Load all regions
ds = load_dataset("kcribb12/global-drillhole-database")

# Load specific region
south_africa = load_dataset("kcribb12/global-drillhole-database", data_files="data/south_africa.parquet")
canada = load_dataset("kcribb12/global-drillhole-database", data_files="data/canada.json")

# Filter by commodity
gold_holes = ds.filter(lambda x: x['commodity'] == 'Gold')
coal_holes = ds.filter(lambda x: x['commodity'] == 'Coal')

Sources

License

Data aggregated from public geological survey sources. Individual region licenses apply.

Downloads last month
76