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

schedule definitions #4

Open
courtney-rosenthal opened this issue Feb 9, 2014 · 0 comments
Open

schedule definitions #4

courtney-rosenthal opened this issue Feb 9, 2014 · 0 comments

Comments

@courtney-rosenthal
Copy link
Member

The mechanism for defining schedules is still arduous and prone to errors.

You can see this at:

https://github.com/chip-rosenthal/voteatx/blob/master/data/voting-places/20140304/generate.rb#L74

One possibility would be to generate the (Time .. Time) from a string spec, such as:

"Feb 18, 2014 noon - 6pm"

another would be rather than specifying individual date entries, saying the schedule needs to be generated over a range of days (e.g. "Feb 18, 2014 - Feb 28, 2014") and then give day specs (e.g. "Mon - Wed, 10am - 5:30pm")

I think the best solution would be to have voteatx import VIP data, and spin this issue out to a separate project that generates VIP datasets from the Travis County data dumps.

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

No branches or pull requests

1 participant