Learn R Programming

lares (version 4.7)

holidays: Holidays in your Country

Description

This function lets the user automatically scrap holiday dates from any country and year within +- 5 years. Thanks to timeanddate.com!

Usage

holidays(countries = "Colombia", years = year(Sys.Date()))

Arguments

countries

Character or vector. For which country(ies) should the holidays be imported?

years

Character or vector. For which year(s) do you wish to import holiday dates?

See Also

Other Data Wrangling: balance_data, calibrate, categ_reducer, cleanText, date_feats, dateformat, formatNum, formatTime, impute, left, normalize, numericalonly, ohse, one_hot_encoding_commas, rbind_full, removenacols, removenarows, replaceall, right, textFeats, textTokenizer, vector2text, year_month, year_week

Other Feature Engineering: date_feats, ohse

Other Scrapper: fb_accounts, fb_ads, fb_insights, fb_posts, fb_post, geoStratum, ip_country, trendsRelated