is_jholiday | R Documentation |
Whether it is a holiday defined by Japanese law (enacted in 1948)
is_jholiday(date)
date |
a vector of POSIXt, numeric or character objects |
Holiday information refers to data published as of December 21, 2020. Future holidays are subject to change.
TRUE if x is a public holidays in Japan, FALSE otherwise.
is_jholiday("2021-01-01") #> [1] TRUE is_jholiday("2018-12-23") #> [1] TRUE is_jholiday("2019-12-23") #> [1] FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.