|
Download README.md from FinzData/macro-housing: direct link, hf CLI and curl.
- Browser
- Download file 5.71 kB
-
https://huggingface.co/datasets/FinzData/macro-housing/resolve/main/README.md
- Command line
-
hf download hf://datasets/FinzData/macro-housing/README.md
-
curl -L -o README.md https://huggingface.co/datasets/FinzData/macro-housing/resolve/main/README.md
5.71 kB
| license: other | |
| license_name: public-domain-source-us-government | |
| pretty_name: "US Macro Data: Housing" | |
| language: | |
| - en | |
| tags: | |
| - finance | |
| - economics | |
| - macroeconomics | |
| - time-series | |
| - fred | |
| - housing | |
| - quant | |
| - backtesting | |
| size_categories: | |
| - 1K<n<10K | |
| configs: | |
| - config_name: long | |
| data_files: data/long.parquet | |
| default: true | |
| - config_name: wide_daily | |
| data_files: data/wide_daily.parquet | |
| - config_name: wide_weekly | |
| data_files: data/wide_weekly.parquet | |
| - config_name: wide_monthly | |
| data_files: data/wide_monthly.parquet | |
| - config_name: wide_quarterly | |
| data_files: data/wide_quarterly.parquet | |
| # US macro data: Housing (273 series) | |
| 273 housing series from US government sources, cleaned into one consistent format and ready for pandas. | |
| This free package holds the **last 12 months** (2025-11-02 on) of each series' latest values. It is refreshed weekly. | |
| ```python | |
| import pandas as pd | |
| df = pd.read_parquet("hf://datasets/FinzData/macro-housing/data/long.parquet") # series_id, date, value | |
| wide = pd.read_parquet("hf://datasets/FinzData/macro-housing/data/wide_daily.parquet") # one column per series | |
| ``` | |
| or `datasets.load_dataset("FinzData/macro-housing")`. Wide tables by frequency: `wide_daily` (1 series), `wide_weekly` (3 series), `wide_monthly` (218 series), `wide_quarterly` (51 series). `series.csv` lists every series | |
| with its title, units, frequency and how far back the full history goes. | |
| ## The full history, point in time, through one API | |
| The FinzData API serves every series back to its first observation, **every revision** (what was known on any past | |
| date, so backtests do not peek at later revisions), and **daily updates**, in the same format: | |
| ```python | |
| import finzdata as fz # pip install finzdata | |
| c = fz.Client() # free API key: https://api.finzdata.com/ | |
| c.macro("DCOILBRENTEU") # full history, latest values | |
| c.macro("DCOILBRENTEU", vintage="first") # as first released | |
| c.macro("DCOILBRENTEU", as_of="2020-03-01") # exactly what was known on that date | |
| c.macro_series(category="housing") # the catalogue for this category | |
| ``` | |
| ## Most-watched series in this package | |
| | ID | Title | Units | Frequency | Full history from | | |
| |---|---|---|---|---| | |
| | `DCOILBRENTEU` | Crude Oil Prices: Brent - Europe | Dollars per Barrel | Daily | 1987 | | |
| | `HOUST` | New Privately-Owned Housing Units Started: Total Units | Thousands of Units | Monthly | 1959 | | |
| | `A091RC1Q027SBEA` | Federal government current expenditures: Interest payments | Billions of Dollars | Quarterly | 1947 | | |
| | `ACTLISCOUUS` | Housing Inventory: Active Listing Count in the United States | Level | Monthly | 2016 | | |
| | `TLMFGCONS` | Total Construction Spending: Manufacturing in the United States | Millions of Dollars | Monthly | 2002 | | |
| | `PERMIT` | New Privately-Owned Housing Units Authorized in Permit-Issuing Places: Total Units | Thousands of Units | Monthly | 1960 | | |
| | `MSACSR` | Monthly Supply of New Houses in the United States | Months' Supply | Monthly | 1963 | | |
| | `RHORUSQ156N` | Homeownership Rate in the United States | Percent | Quarterly | 1965 | | |
| | `HSN1F` | New One Family Houses Sold: United States | Thousands | Monthly | 1963 | | |
| | `FGEXPND` | Federal Government: Current Expenditures | Billions of Dollars | Quarterly | 1946 | | |
| | `HOUST1F` | New Privately-Owned Housing Units Started: Single-Family Units | Thousands of Units | Monthly | 1959 | | |
| | `TTLCONS` | Total Construction Spending: Total Construction in the United States | Millions of Dollars | Monthly | 1993 | | |
| | `ETOTALUSQ176N` | Housing Inventory Estimate: Total Housing Units in the United States | Thousands of Units | Quarterly | 2000 | | |
| | `RRVRUSQ156N` | Rental Vacancy Rate in the United States | Percent | Quarterly | 1956 | | |
| | `GEPUCURRENT` | Global Economic Policy Uncertainty Index: Current Price Adjusted GDP | Index | Monthly | 1997 | | |
| | `W006RC1Q027SBEA` | Federal government current tax receipts | Billions of Dollars | Quarterly | 1947 | | |
| | `IEABC` | Balance on current account | Millions of Dollars | Quarterly | 1999 | | |
| | `MEDDAYONMARUS` | Housing Inventory: Median Days on Market in the United States | Level | Monthly | 2016 | | |
| | `TLNRESCONS` | Total Construction Spending: Nonresidential in the United States | Millions of Dollars | Monthly | 2002 | | |
| | `MCOILBRENTEU` | Crude Oil Prices: Brent - Europe | Dollars per Barrel | Monthly | 1987 | | |
| | `USAUCSFRCONDOSMSAMID` | Zillow Home Value Index (ZHVI) for All Homes Including Single-Family Residences, Condos, and CO-OPs in the United States of America | Dollars | Monthly | 2000 | | |
| | `ACTLISCOUFL` | Housing Inventory: Active Listing Count in Florida | Level | Monthly | 2016 | | |
| | `TLRESCONS` | Total Construction Spending: Residential in the United States | Millions of Dollars | Monthly | 2002 | | |
| | `B235RC1Q027SBEA` | Federal government current tax receipts: Taxes on production and imports: Customs duties | Billions of Dollars | Quarterly | 1959 | | |
| | `COMPUTSA` | New Privately-Owned Housing Units Completed: Total Units | Thousands of Units | Monthly | 1968 | | |
| All 273 series: `series.csv`. Browse them at https://finzdata.com/macro/category/housing. | |
| ## More from FinzData | |
| - Every macro category: https://huggingface.co/FinzData · index on GitHub: https://github.com/FinzData/macro-data | |
| - Survivorship-free US stock prices since 2000, COT positioning, 13F holdings, insider trades, short interest | |
| - Pricing (history bundles from $195 once): https://finzdata.com/pricing | |
| - Python client (open source): https://github.com/FinzData/finzdata-python | |
| Source: U.S. government agencies via FRED/ALFRED (Federal Reserve Bank of St. Louis). Compiled by FinzData. | |
| Data for research, not investment advice. | |