numeraire_dataset.builders.fredmd.download#
- numeraire_dataset.builders.fredmd.download(vintages: list[str], dest: str | Path, *, timeout: int = 120) list[Path][source]#
Download recent FRED-MD single vintages (
YYYY-MM) intodest; return local paths.Tries three names in order — new site
YYYY-MM-md.csv(2025-04+), new siteYYYY-MM.csv(2025-01..03), then legacy S3YYYY-MM.csv; earlier vintages live in the zip archives (seedownload_archive()). A 200-OK response that isn’t a FRED-MD CSV (e.g. an HTML placeholder for an unpublished month) is treated as a failure. Public data (cite McCracken & Ng 2016).