PDF report tables extracted into clean CSV, with totals reconciled

par fidji ChatGPT Anglais ~559 tokens
Extrait public Verrouillé
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…

À propos de ce 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.

Exemple de résultat

Fourni par l'auteur
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"…

Fiche technique

Modèle
ChatGPT
Langue du prompt
Anglais
Pour qui
Analysts, journalists, researchers and finance staff who rebuild data from PDF reports
Longueur
~559 tokens (estimation)
Format livré
Texte du prompt, affiché en ligne après achat

Avis

Réservés aux acheteurs

Aucun avis pour l'instant. Seuls les acheteurs de ce prompt peuvent en laisser un.

Signaler ce prompt