AnswerBun.com

Datasets with chronological variables for specific countries

Open Data Asked on September 30, 2021

I am doing some time-series forecasts.

The datasets that I am working on have the attributes year, month, day and hour, however, in order to deal with seasonality and holiday effects, I am looking for datasets to complement with chronological variables such as week day, holiday, week number, month number,… for specific countries (Portugal and Spain).

I am wondering where may I be able to access this kind of data, ideally historical (but for future periods is a plus).

One Answer

As I was seeing different problems regarding Holidays, I using two different approaches to build my own Holidays dataset, for the Iberian Peninsula.

The scripts are available on this repo, on GitHub.

In this one, I have added the holidays dates manually.

In this one, I am taking advantage of Facebook Prophet.

In the meantime, I have also found a library that seeks to help generating country, province and state specific sets of holidays on the fly, however there is still a lot of room for improvement.

Correct answer by Gonçalo Peres 龚燿禄 on September 30, 2021

Add your own answers!

Related Questions

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP