Skip to content
3 min read · Tags: plotting datetime filtering

BW #116: Philadelphia Fed survey

Get better at: Working with dates and times, plotting, and filtering

BW #116: Philadelphia Fed survey

Donald Trump's tariffs and trade policy continue to reverberate around the world:

I highly recommend a Marketplace special report from last week, "Selling America," which looks at what is changing, and how individuals and businesses are responding: https://www.marketplace.org/episode/2025/04/20/special-coverage-from-marketplace-selling-america-pm

So, things are quite murky. But even (especially?) in such times, economists need to understand the economy and where it's going. One way to do this is via surveys, especially if the survey has been going on for a long time, making it possible to compare figures.

The Philadelphia Federal Reserve does exactly this, via its "Manufacturing Business Outlook Survey" (https://www.philadelphiafed.org/surveys-and-data/regional-economic-analysis/manufacturing-business-outlook-survey). The monthly survey has been conducted since May 1968, and asks manufacturing businesses in their region how things are going now, and what they think about the future. The most recent survey, which came out last week, indicates that many businesses are concerned about where things are going.

Among the metrics that the survey checks are:

For each of these (and other) measures, people are asked to indicate whether the metric is increasing, decreasing, or has no change. In the case of future values, they're asked whether they expect, six months from now, whether the metric will increase, decrease, or be unchanged. The percentage of respondents who answer "increasing" is then subtracted from the percentage saying "decreasing" for the "diffusion index."

This week, we'll look at the Philadelphia Fed survey, reproducing some of the numbers and charts in their April report (https://www.philadelphiafed.org/surveys-and-data/regional-economic-analysis/mbos-2025-04), and generally trying to understand the current state of affairs.

Data and five questions

You can download the data for the survey from the survey's data page at

https://www.philadelphiafed.org/surveys-and-data/mbos-historical-data

I downloaded the complete history file in CSV format from:

https://www.philadelphiafed.org/-/media/FRBP/Assets/Surveys-And-Data/MBOS/Historical-Data/Data-Series/bos_history.csv?sc_lang=en&hash=28226062188CE1C88D63A7E1DDA9EEC5

The data dictionary will be a crucial part of understanding what columns to retrieve and process; you can find it here:

https://www.philadelphiafed.org/-/media/FRBP/Assets/Surveys-And-Data/MBOS/Readme.txt

This week's learning goals include working with dates and times, plotting, and filtering.

Paid subscribers can download the data file and data dictionary at the end of this post.

I'll be back tomorrow with my extended solutions, as well as (for paid subscribers) downloadable notebooks and one-click solutions in Google Colab.

Meanwhile, here are my five questions: