process_data()

Read a quarter’s downloaded .TXT files into tidy Polars DataFrames.

Usage

Source

process_data(dir)

Parameters

dir: str | Path
Path to a directory containing FCA Call Report .TXT files for one quarter (as produced by download_data()).

Returns

dict with keys "data" and "metadata", each a dict keyed by
dataset root name (e.g. "RCB").