A 45-row table, rebuilt cell by cell
A table from an open-access scientific paper (geology). Every value lands in its column.
rocktranslate extract paper.pdf -p 11 -f md,json
rocktranslate.extract("paper.pdf", pages="11").tables[0].table
| 1 | 1.02 | 0.02 | 1.07 | 12.74 | 0.20 | 1.90 | 0.44 | 48.17 | 0.39 | 0.31 |
| 2 | 0.80 | 0.01 | 1.33 | 2.42 | 0.20 | 1.79 | 0.29 | −21.74 | 0.18 | 0.26 |
| 3 | 0.44 | 0.01 | 5.63 | 3.88 | 0.39 | 2.37 | 0.47 | 9.95 | 0.25 | 0.06 |
| 4 | 0.72 | 0.02 | 1.75 | 22.14 | 0.33 | 0.37 | 0.18 | 66.71 | 0.53 | 0.23 |
| 5 | 0.77 | 0.01 | 1.75 | 26.98 | 0.34 | 1.27 | 0.38 | 12.88 | 0.20 | 0.09 |
… 45 rows
{
"type": "Table",
"element_id": "48bf2b723bd45202892c544214d92c4c",
"metadata": {
"page_number": 11,
"coordinates": {
"points": [[50.0, 97.12], [50.0, 747.27],
[546.89, 747.27], [546.89, 97.12]],
"system": "PDFPoints"
},
"text_as_html": "<table><tr><td>1</td><td>1.02</td>…"
}
}