Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to ignore wekends when using count_gaps #81

Closed
APramov opened this issue Jan 30, 2019 · 2 comments
Closed

How to ignore wekends when using count_gaps #81

APramov opened this issue Jan 30, 2019 · 2 comments

Comments

@APramov
Copy link

APramov commented Jan 30, 2019

Hi,
appologies if this is not the right place to ask questions about the package (if so, please let me know where I can). I just read the paper on tsibble (and found out about it) and I'd love to start using it for my analysis, it looks great!

About my problem: I work with financial time series data and would like to know if there is a way to let count_gaps ignore the missing weekends, as markets are closed on the wekend and there would never be any data there. I tried googling an answer to this but wasn't successfull.

Thank you

@earowang
Copy link
Member

Please see #18 which hasn't been implemented yet.

@earowang
Copy link
Member

Currently, there's no way that *_gaps() can ignore weekends. A general problem is to allow for a user-defined calendar upon creating a tsibble. I'm not aware that any R package provides flexible tools to handle business calendars in terms of date, date-times and intraday. I'm closing this issue as the duplicate of #18 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants