Learn R Programming

prophet (version 1.0)

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