Rent Prices
The housing rent price index measures the prices paid for renting residential properties over time. Together with the house price index it is a key input into affordability and house ownership profitability measures such as the price to rent ratio.
This is an index based on 2015 = 100.
See definition: https://data.oecd.org/price/housing-prices.htm
Also known as: rental prices, housing costs, rent index.
Rent Prices in Python
get_rent_prices is part of the Economics module of the open-source Finance Toolkit. Install it with:
pip install financetoolkit -U
Then call get_rent_prices as shown below.
from financetoolkit import Economics
economics = Economics(start_date='2015-01-01', end_date='2023-12-31')
economics.get_rent_prices(
countries=['Turkey', 'United States', 'United Kingdom'],
quarterly=False)
Which returns:
| Turkey | United States | United Kingdom | |
|---|---|---|---|
| 2015 | 100 | 100 | 100 |
| 2016 | 108.667 | 103.773 | 101.725 |
| 2017 | 118.586 | 107.731 | 102.699 |
| 2018 | 130.05 | 111.627 | 103.174 |
| 2019 | 143.192 | 115.765 | 103.924 |
| 2020 | 156.58 | 119.382 | 105.399 |
| 2021 | 172.63 | 122.062 | 107.148 |
| 2022 | 221.225 | 129.426 | 110.897 |
| 2023 | 398.003 | 139.543 | 117.179 |
Parameters
get_rent_prices accepts the following parameters:
- countries (list[str] | str | None, optional): The countries to include in the data. Defaults to None.
- quarterly (bool | None, optional): Whether to return the quarterly data or the annual data.
- rolling (int, optional): The rolling window size to use for smoothing the data (simple moving average). Defaults to None.
- trailing (int, optional): The trailing window size to use for summing the data over trailing periods (e.g. a trailing-4-quarter sum). Defaults to None.
- growth (bool, optional): Whether to return the growth data or the actual data.
- lag (int, optional): The number of periods to lag the data by.
- standardize (bool, optional): Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.
- rounding (int | None, optional): The number of decimals to round the results to. Defaults to None.