Analysts who update monthly finance, operations, or economic reports

View as Markdown

Rerun Monthly Reports with Saved R or Python Code

Reopen your previous run, update the spreadsheet or official series, and rerun the same calculations. Review what changed in tables and charts with inspectable code and sources.

Each reporting cycle brings a new spreadsheet or release. Rebuilding formulas by hand makes revisions and changes in definitions easy to miss.

Start this workflow

“Build a monthly report with the latest available US CPI and payroll data from FRED. Show changes since the previous month, cite the series, and save the Python code and chart.”

Reproducible workflow

  1. 01.Save the R or Python code, source references, and cutoff date from your first run.
  2. 02.At the next close, load the new workbook or refresh the official series. Track the release dates separately for monthly indicators such as IPCA, CAGED, CPI, and payrolls and for quarterly GDP.
  3. 03.Rerun the script and check new observations and revisions against the previous report before sharing the updated tables and charts.

Common questions

Can I also use a monthly Excel export?
Yes. Upload the new workbook, check that the column names and types still match, and rerun the saved script against the new input.
How can I check why a number changed?
Open the table or chart to inspect its data, code, and method. Compare the new source observations and calculation with what you saved for the prior period.