View source: R/download_data_damodaran.R
| download_data_damodaran | R Documentation |
Downloads industry averages from
Aswath
Damodaran's data library. Currently, the cost of capital (WACC) by industry
is supported via dataset = "wacc". The source files are Excel workbooks,
so the function requires the readxl package.
download_data_damodaran(dataset = "wacc", region = "us", year = NULL)
dataset |
The dataset to download. Currently only |
region |
A character vector of regions: |
year |
Optional. An integer vector of years. If not provided, the most recent data is returned. Years that are not available are skipped with a warning. |
Damodaran updates the data each January with the data at the end of the
previous year. The year column refers to that previous year, e.g., the
file published in January 2026 has year = 2025. Earlier years are read from
the archive of the data library. The archive starts in 1998 for the US, in
2013 for Europe, Japan, emerging markets, global, China, and India, and in
2015 for Australia, New Zealand, and Canada. China and India skip some years.
A tibble with one row per region, year, and industry and the
columns region, year, industry, number_of_firms, beta,
cost_of_equity, equity_to_capital (E/(D+E)), sd_stock (standard
deviation of stock returns), cost_of_debt, tax_rate,
after_tax_cost_of_debt, debt_to_capital (D/(D+E)), wacc (cost of
capital in US dollars), and wacc_local (cost of capital in local
currency, NA where the source file does not provide it). Rates are
decimals. The rows "Total Market" and, in recent files,
"Total Market (without financials)" hold the market-wide averages.
Other download functions:
download_data(),
download_data_constituents(),
download_data_factors_ff(),
download_data_factors_q(),
download_data_fred(),
download_data_fred_md(),
download_data_huggingface(),
download_data_jkp(),
download_data_macro_predictors(),
download_data_osap(),
download_data_pastor_stambaugh(),
download_data_risk_free(),
download_data_stambaugh_yuan(),
download_data_stock_prices(),
download_factor_library_grid(),
download_factor_library_ids()
wacc <- download_data_damodaran("wacc")
wacc_panel <- download_data_damodaran(
"wacc", region = c("us", "europe"), year = 2020:2024
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.