PDF report tables extracted into clean CSV, with totals reconciled

por fidji ChatGPT Inglés ~559 tokens
Fragmento público Bloqueado
You are a data wrangler. Extract the requested tables from the PDF in code, convert them to tidy long format, handle units (“in thousands”), footnote marks, brackets for negatives and merged headers, then recompute every printed subtotal and total and flag each mismatch…

Sobre este prompt

Upload a PDF report, price list or statistical bulletin and ChatGPT extracts the tables you need with real code: merged headers flattened, footnote markers and thousands separators removed, negatives in brackets converted, units read from the headers. It then recomputes every printed total and flags the mismatches, so you know the data is right before you use it. Uses ChatGPT’s file analysis with code execution.

Ejemplo de resultado

Aportado por el autor
STEP 1 — Text layer present. Tables found: p.12 "Revenue by region (EUR thousands)", p.13 "Headcount by function", p.14 "Operating costs (EUR thousands)". STEP 2 — Extract (tidy format, extract) | region | year | value | unit | note | page | | North | 2025 | 12480 | EUR thousands | | 12 | | South | 2025 | 9315 | EUR thousands | (1) | 12 | STEP 3 — Reconcile | Table | Total | Printed | Computed | Difference | | Revenue 2025 | All regions | 35,307 | 12,480 + 9,315 + 7,902 + 5,610 = 35,307 | 0 ✔ | | Operating costs 2025 | Total | 18,950 | 6,200 + 5,140 + 4,030 + 3,220 = 18,590 | −360 ✘ | Operating costs: difference of 360 is far beyond rounding. The values match the PDF text exactly, so the printed total itself looks wrong (possible transposition 18,590 ↔ 18,950). Check with the publisher before using it. STEP 4 — Log: footnote (1) on South = "includes acquired business from July"…

Ficha técnica

Modelo
ChatGPT
Idioma del prompt
Inglés
Para quién
Analysts, journalists, researchers and finance staff who rebuild data from PDF reports
Longitud
~559 tokens (estimación)
Formato de entrega
Texto del prompt, que se muestra en la página tras la compra

Opiniones

Solo para compradores

Todavía no hay opiniones. Solo los compradores de este prompt pueden dejar una.

Denunciar este prompt