Skip to content
3 min read · Tags: datetime plotting excel pivot-table

BW #110: Credit access

Get better at: Excel files, dates and times, plotting, and creating pivot tables

BW #110: Credit access

[Don't forget that my new "Hands-on Projects with Python" course starts later this month! I'm holding a free webinar tomorrow, where I'll lay out the course in full detail, answering any questions you might have. Sign up at https://store.lerner.co.il/about-hoppy-1 and you'll get a Zoom link 10 minutes before we start, as well as a link to the video recording after we're done.]

For the last few years, most economic indicators showed that the US was doing well, especially when compared with the rest of the world. Kyla Scanlon (https://kyla.substack.com/) famously called this a "vibecession," in that people *felt* like things were bad, even if the hard data was generally positive. (She also argues that we need new measures for what constitutes a "good" economy.)

Trump has scrambled things on many fronts, including the economy. But it'll be a few months before we'll really know precisely what is happening. In a Marketplace interview on March 17th, economist Mohamed El-Erian said that soft data comes faster than hard data, and that it can often be a good predictor of where things are going (https://www.marketplace.org/2025/03/17/el-erian-on-doge-tariffs-and-recession-chances-fed-inflation-employment-trump/).

This week, we got data from the New York Federal Reserve. This data came from the Survey of Consumer Expectations at the NY Fed's Center for Microeconomic Data (https://www.newyorkfed.org/microeconomics/sce#/).

The credit-access module in the SCE (https://www.newyorkfed.org/microeconomics/sce/credit-access/) asks people how much credit (e.g., credit cards, student loans, and mortgages) they currently have, and what their plans and expectations are for the coming year. The survey publishes results in February, June, and October of each year.

Data and six questions

We want to download the "chart data" for the survey, an Excel file that you can also get via the following link:

https://www.newyorkfed.org/medialibrary/Interactives/sce/sce/downloads/data/FRBNY-SCE-Credit-Access-Data.xlsx?sc_lang=en

I found it helpful and interesting to look through the entire survey questionnaire, available in PDF from here:

https://www.newyorkfed.org/medialibrary/Interactives/sce/sce/downloads/data/2015-SCE-Credit-Access-survey-questionaire.pdf?sc_lang=en

Paid subscribers can download both files from a link at the bottom of this message.

Learning goals for this week include: Working with Excel files, manipulating dates and times, and pivot tables.

I'll be back tomorrow with my solutions, including (for paid subscribers) a downloadable copy of the Jupyter notebook I used to solve these problems, as well as a one-click link to open that notebook (and the data) in Google Colab.

Meanwhile, here are my six questions and tasks: