Datasets:
Use descriptive dataset table names and update loading examples
Browse files
README.md
CHANGED
|
@@ -14,6 +14,28 @@ task_categories:
|
|
| 14 |
- time-series-forecasting
|
| 15 |
size_categories:
|
| 16 |
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# Bitcoin and Litecoin mempool lifecycle
|
|
@@ -24,10 +46,10 @@ Transaction observations covering first sight, time spent pending, confirmation
|
|
| 24 |
|
| 25 |
| Table | Record |
|
| 26 |
|---|---|
|
| 27 |
-
| `
|
| 28 |
-
| `
|
| 29 |
-
| `
|
| 30 |
-
| `
|
| 31 |
|
| 32 |
## Observation coverage
|
| 33 |
|
|
@@ -55,20 +77,35 @@ Data is stored as Parquet files under `dataset/YYYY/MM/`, with partitions for co
|
|
| 55 |
|
| 56 |
### Load a table
|
| 57 |
|
|
|
|
|
|
|
| 58 |
```python
|
| 59 |
-
from
|
| 60 |
-
import pandas as pd, glob
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
df =
|
| 65 |
-
glob.glob(f"{path}/e8_btc_mempool_lifecycle/**/*.parquet", recursive=True)))
|
| 66 |
```
|
| 67 |
|
| 68 |
## Coverage
|
| 69 |
|
| 70 |
-
`
|
| 71 |
|
| 72 |
## License and contact
|
| 73 |
|
| 74 |
The public sample is published under ODC-BY. Attribute it to "DataForge (dataforge-labs)". For questions about the data or access to additional history, open a discussion in this repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- time-series-forecasting
|
| 15 |
size_categories:
|
| 16 |
- 1M<n<10M
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: bitcoin_transaction_lifecycle
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: e8_btc_mempool_lifecycle/**/*.parquet
|
| 22 |
+
default: true
|
| 23 |
+
- config_name: bitcoin_mempool_comparison
|
| 24 |
+
data_files:
|
| 25 |
+
- split: train
|
| 26 |
+
path: e9_btc_mempool_divergence/**/*.parquet
|
| 27 |
+
- config_name: litecoin_transaction_lifecycle
|
| 28 |
+
data_files:
|
| 29 |
+
- split: train
|
| 30 |
+
path: e11_ltc_mempool_lifecycle/**/*.parquet
|
| 31 |
+
- config_name: bitcoin_block_composition
|
| 32 |
+
data_files:
|
| 33 |
+
- split: train
|
| 34 |
+
path: e8_btc_block_composition/**/*.parquet
|
| 35 |
+
- config_name: collection_runs
|
| 36 |
+
data_files:
|
| 37 |
+
- split: train
|
| 38 |
+
path: e0_run_manifest/**/*.parquet
|
| 39 |
---
|
| 40 |
|
| 41 |
# Bitcoin and Litecoin mempool lifecycle
|
|
|
|
| 46 |
|
| 47 |
| Table | Record |
|
| 48 |
|---|---|
|
| 49 |
+
| `bitcoin_transaction_lifecycle` | A Bitcoin transaction's observed lifecycle, fee information and outcome |
|
| 50 |
+
| `bitcoin_mempool_comparison` | A provider's pending-set size and overlap with other views |
|
| 51 |
+
| `litecoin_transaction_lifecycle` | A Litecoin transaction lifecycle observation |
|
| 52 |
+
| `bitcoin_block_composition` | A block's previously observed and newly seen transaction counts |
|
| 53 |
|
| 54 |
## Observation coverage
|
| 55 |
|
|
|
|
| 77 |
|
| 78 |
### Load a table
|
| 79 |
|
| 80 |
+
Install `datasets` and `pandas` to run this example. The `train` split contains all observations in the selected table; it is not a predefined modelling split.
|
| 81 |
+
|
| 82 |
```python
|
| 83 |
+
from datasets import load_dataset
|
|
|
|
| 84 |
|
| 85 |
+
data = load_dataset("dataforge-labs/bitcoin-mempool-lifecycle",
|
| 86 |
+
"bitcoin_transaction_lifecycle", split="train")
|
| 87 |
+
df = data.to_pandas()
|
|
|
|
| 88 |
```
|
| 89 |
|
| 90 |
## Coverage
|
| 91 |
|
| 92 |
+
`collection_runs` records collection windows, poll counts and failures. It is published in full and may cover dates beyond the fixed data sample. Collection gaps are not interpolated. Use this table together with measurement timestamps and error fields to assess coverage.
|
| 93 |
|
| 94 |
## License and contact
|
| 95 |
|
| 96 |
The public sample is published under ODC-BY. Attribute it to "DataForge (dataforge-labs)". For questions about the data or access to additional history, open a discussion in this repository.
|
| 97 |
+
|
| 98 |
+
<details>
|
| 99 |
+
<summary>File paths and compatibility</summary>
|
| 100 |
+
|
| 101 |
+
The table names above are Hugging Face dataset configurations. Each configuration reads the original Parquet files, whose paths remain unchanged for existing downloads and scripts. No records are copied, moved or renamed.
|
| 102 |
+
|
| 103 |
+
| Table name | Storage directory |
|
| 104 |
+
|---|---|
|
| 105 |
+
| `bitcoin_transaction_lifecycle` | `e8_btc_mempool_lifecycle/` |
|
| 106 |
+
| `bitcoin_mempool_comparison` | `e9_btc_mempool_divergence/` |
|
| 107 |
+
| `litecoin_transaction_lifecycle` | `e11_ltc_mempool_lifecycle/` |
|
| 108 |
+
| `bitcoin_block_composition` | `e8_btc_block_composition/` |
|
| 109 |
+
| `collection_runs` | `e0_run_manifest/` |
|
| 110 |
+
|
| 111 |
+
</details>
|