PDF report tables extracted into clean CSV, with totals reconciled

di fidji ChatGPT Inglese ~559 token
Estratto pubblico Bloccato
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…

Informazioni su questo 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.

Esempio di risultato

Fornito dall’autore
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"…

Scheda tecnica

Modello
ChatGPT
Lingua del prompt
Inglese
Per chi
Analysts, journalists, researchers and finance staff who rebuild data from PDF reports
Lunghezza
~559 token (stima)
Formato di consegna
Testo del prompt, mostrato online dopo l’acquisto

Recensioni

Riservate agli acquirenti

Nessuna recensione per ora. Solo chi ha acquistato questo prompt può lasciarne una.

Segnala questo prompt