Recued
Menu
← Back to recipes

Public holidays for a country

by recued-core v1 9 views

Use “Public holidays for a country” in Recued. Public holidays for a country and year, separated into the ones that apply everywhere and the ones that apply only in certain regions.

How it works 29 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (29 steps)
cc uppercase
Convert setting country to uppercase
cc_required template
Generate text from a template
fail: step.cc is_empty
now_ts date_add
Add 0 days to
this_year date_format
Format as a date
yr default
Apply default
fetch ?
rows default
Apply default
total count
Count items in rows
any_required template
Generate text from a template
fail: step.total equal 0
split partition
Apply partition
defaults defaults
Apply defaults
national_count count
Count items in national
regional_count count
Count items in regional
tagged map
Extract from each item
region_code uppercase
Convert setting region to uppercase
needle template
Generate text from a template
mine filter
Filter by condition
skip: step.region_code is_empty
mine_count count
Count items in mine
applicable_raw default
Apply default
skip: step.region_code is_empty
applicable flatten
Flatten nested lists in
skip: step.region_code is_empty
applicable_sorted sort
Sort by date
skip: step.region_code is_empty
applicable_count count
Count items in applicable
card to_summary
Format results as a summary card
applicable_table to_table
Format results as a data table
skip: step.region_code is_empty
national_table to_table
Format results as a data table
skip: step.region_code is_not_empty
regional_table to_table
Format results as a data table
skip: step.region_code is_not_empty
region_note template
Generate text from a template
skip: step.region_code is_empty
no_region_note template
Generate text from a template
skip: step.region_code is_not_empty
types_note template
Generate text from a template
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

year setting =
region setting =
country setting =
nager date setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Nager_date connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

nager-date nager-dateholidayspublic-holidayscalendarschedulingread-onlypack:nager-date

Details

29 steps 4 configurable settings recipe_id: check-holidays-nager