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

Detect when Parliament data hasn't arrived and warn #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

struan
Copy link
Member

@struan struan commented Sep 16, 2016

This adds a warning to process_hansard.py when it looks like we've failed to download files from Parliament. As part of this there's a script to fetch and save recess dates from Parliament which are then used to determine if we should expect any data.

If it's Tuesday to Saturday and it doesn't look like there are any
files from Parliament then check if it's a recess and if not spit
out a message.

This should hopefully avoid sending out alerts when we've not
received any files from Parliament
@dracos
Copy link
Member

dracos commented Sep 16, 2016

Don't want to scope creep, but could this feed into the front-end display of recess dates in the calendars? :)

@struan
Copy link
Member Author

struan commented Sep 16, 2016

Yup, I figure that's the next step.

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

Successfully merging this pull request may close these issues.

2 participants