Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

make_holidays_df

Make dataframe of holidays for given years and countries


Description

Make dataframe of holidays for given years and countries

Usage

make_holidays_df(years, country.name)

Arguments

years

List of years for which to include holiday dates.

country.name

Country name (character).

Value

Dataframe with 'ds' and 'holiday', which can directly feed to 'holidays' params in Prophet


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.