mpaesold / solarvic

1 stars 1 forks source link

Holiday data to include calander code #23

Open CodeDetritus opened 2 years ago

CodeDetritus commented 2 years ago

Current holidays.csv has no calendar code - so all queries will use the same holidays. To make it more generic, the holiday data needs to have an associated calendar code. Refer to the CalendarData.xlsx There are calendar codes for AU, and AU-TAS, AU-VIC, etc. Also, holiday types for School vs Public Holiday. Maybe actually need to have a high school vs primary school? So a Victorian school will use AU + AU-VIC and Public Holiday + School. Whereas a business in QLD will use AU + AU-QLD with PublicHoliday type.