Package 'ihpdr'

Title: Download Data from the International House Price Database
Description: Web scraping the <https://www.dallasfed.org> for up-to-date data on international house prices and exuberance indicators. Download data in tidy format.
Authors: Kostas Vasilopoulos [aut, cre]
Maintainer: Kostas Vasilopoulos <[email protected]>
License: GPL-3
Version: 1.3.0
Built: 2025-01-01 03:04:56 UTC
Source: https://github.com/kvasilopoulos/ihpdr

Help Index


Quickly browse to important links

Description

This function take you to webpages associated with the International House Price Database and returns the url invisibly. Option app take you the International Housing Observatory, while info take you to Dallas Fed info page of the data.

Usage

ihpd_browse(pick = c("info", "app"))

Arguments

pick

whether to browse the shiny info or the app page. Defaults at info.

Examples

ihpd_browse()

List all the countries

Description

List all the countries

Usage

ihpd_countries(version = NULL)

Arguments

version

Which version to download. Version number should be a character of the following format %Y%q (e.g. '1801' - corresponds to year 2018, Quarter 1). Versions start from '1102'. Defaults at the latest available.

Value

A character vector all the countries.

Examples

ihpd_countries()

Download Data from the International House Price Database

Description

Available downloads:

  1. raw: Raw Data

  2. gsadf: Generalized sup ADF statistics

  3. bsadf: Backward sup ADF statistic sequence

Usage

ihpd_get(symbol = c("raw", "gsadf", "bsadf"), version = NULL, verbose = TRUE)

Arguments

symbol

Which dataset to download.

version

Which version to download. Version number should be a character of the following format %Y%q (e.g. '1801' - corresponds to year 2018, Quarter 1). Versions start from '1102'. Defaults at the latest available.

verbose

whether to print the url of the excel file that is accessing.

Details

raw

Includes the following time series for the countries covered:

  • hpi: The house price index.

  • rhpi: The house price index expressed in real terms.

  • pdi: The personal disposable income index.

  • rpdi: The personal disposable income expressed in real terms index.

All variables in real terms are deflated with the personal consumption expenditure (PCE) deflator.

The exuberance indicators include

gsadf
  • type: real house price index (rhpi) and the ratio of rhpi to real personal disposable income (rpdi)

  • lag: lag length of 1 and 4

  • sig: significance level for the critical value

  • value: test statistics for explosive behavior

  • crit: 95 percent critical values.

bsadf

The exuberance indicators include

  • type: real house price index (rhpi) and the ratio of rhpi to real personal disposable income (rpdi)

  • lag: lag length of 1 and 4,

  • value: test statistics for explosive behavior

  • crit: 95 percent critical values.

Value

Returns a tibble in long format.

Examples

ihpd_get()

Fetches the latest release dates

Description

Fetches the latest release dates

Usage

ihpd_release_dates()

Value

A data.frame with 2 variables with the latest release dates data.

Examples

ihpd_release_dates()

Get all the available versions

Description

Get all the available versions

Usage

ihpd_versions()

Value

A character vector with all the available versions.

Examples

ihpd_versions()