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

Add a recursive_day field #3

Open
tkompare opened this issue Sep 25, 2013 · 2 comments
Open

Add a recursive_day field #3

tkompare opened this issue Sep 25, 2013 · 2 comments

Comments

@tkompare
Copy link

A field I'm finding handy in Chicago is allowing location to add a "recursive day" field. This in combination with begin and end dates allows for less "duplicate" data entry for locations that are "flu shots available every Monday through Friday, 8:00 AM to 8:00 PM". This would now only take one row with:

begin date: 09/01/2013
end date: 04/30/2014
begin time: 08:00
end_time: 20:00
recursive days: Monday,Tuesday,Wednesday,Thursday,Friday

'recursive days' is a comma separated list of days of the week, for ease of parsing this string into an array, and doing the date math.

@mheadd
Copy link
Contributor

mheadd commented Sep 25, 2013

Yeah, that looks damn handy. We have a number of locations in Philly that are operated that way.

@mheadd
Copy link
Contributor

mheadd commented Sep 25, 2013

@tkompare Any chance you could share the Chicago data? Was this data that you converted from a City source, or was it provided by the City in the format your app used. I think it would be helpful to see what another city's data looks like - even with the difference (recursive days) you mention above.

Thoughts on sending a pull request with the data you use on your app n a "city-of-chicago" directory?

/cc: @tomschenkjr

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