feay commited on
Commit
11f2cf2
·
verified ·
1 Parent(s): 294fda0

Add polished dataset card with sampling + full dataset link

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: IPO Tables (HTML) — Random Yearly Sample
3
+ tags:
4
+ - sec
5
+ - ipo
6
+ - s-1
7
+ - tables
8
+ - html
9
+ - finance
10
+ - information-extraction
11
+ task_categories:
12
+ - text-classification
13
+ - other
14
+ language:
15
+ - en
16
+ license: mit
17
+ size_categories:
18
+ - 1K<n<10K
19
+ ---
20
+
21
+ # IPO Tables (HTML) — Random Sample Card
22
+
23
+ A curated table extraction dataset from SEC filing documents, with raw table HTML plus provenance metadata.
24
+
25
+ ## What This Dataset Is
26
+
27
+ This is a **random sample targeting 100 extracted tables per year** from filings in **1994–2026**.
28
+
29
+ - Middle years are densely represented at 100 tables/year.
30
+ - Edge years can be lower where fewer valid tables were available.
31
+ - Tables are extracted directly from filing source files and stored as raw HTML.
32
+
33
+ ## Full Dataset Link
34
+
35
+ The full dataset is available here:
36
+
37
+ **https://drive.google.com/drive/folders/16hFhoXy52o9C2dARpxmBHQ6QCZjvum6S?usp=sharing**
38
+
39
+ ## Snapshot Stats
40
+
41
+ - Year range: 1994–2026 (33 years)
42
+ - Total extracted tables: 3,099
43
+ - Years with 100 tables: 30
44
+ - Underfilled edge years:
45
+ - 1994: 35
46
+ - 1995: 64
47
+ - 2026: 0
48
+
49
+ ## Files
50
+
51
+ - `sampled_table_html.csv`
52
+ - `sampled_table_html.parquet`
53
+ - `year_summary.csv`
54
+ - `dataset_info.json`
55
+
56
+ ## Row Schema
57
+
58
+ Each row contains:
59
+
60
+ - `sample_id`: unique row id
61
+ - `target_year`: sampled year bucket
62
+ - `source_file`: source filing path used for extraction
63
+ - `source_filename`: filing filename
64
+ - `source_extension`: file extension (`.htm`, `.html`, `.txt`)
65
+ - `cik`: parsed company identifier (when available)
66
+ - `accession_from_filename`: accession-like id parsed from filename
67
+ - `table_pick_index_in_filing`: selected table index in filing
68
+ - `table_start_char`: char offset start in source text
69
+ - `table_end_char`: char offset end in source text
70
+ - `table_html`: raw extracted table HTML
71
+ - `table_html_char_length`: HTML character length
72
+
73
+ ## How It Was Built
74
+
75
+ 1. Enumerate filing files by year from local corpus.
76
+ 2. Shuffle filings with deterministic seed.
77
+ 3. Extract `<table>...</table>` blocks using HTML regex matching.
78
+ 4. Keep up to one table per filing for diversity.
79
+ 5. Continue until 100 tables for the year (or exhaust candidates).
80
+
81
+ ## Intended Use
82
+
83
+ - Table parsing benchmarks
84
+ - Financial document IE experiments
85
+ - HTML-to-structured-table extraction
86
+ - LLM/RAG evaluation on filing tables
87
+
88
+ ## Limitations
89
+
90
+ - Extraction is HTML-pattern based; malformed markup can reduce recall.
91
+ - Some provenance fields depend on filename conventions.
92
+ - Edge years may contain fewer tables than the 100 target.
93
+
94
+ ## Citation
95
+
96
+ If you use this sample card dataset, please cite the project/repository and include the full dataset link above.