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

Feed Statistics #1021

Merged
merged 40 commits into from
Mar 24, 2017
Merged

Feed Statistics #1021

merged 40 commits into from
Mar 24, 2017

Conversation

irees
Copy link
Member

@irees irees commented Mar 13, 2017

Generate statistics for a Feed Version.

Store the results in a FeedVersionInfo record, 1 per FeedVersion.

See https://github.com/transitland/transitland/issues/218

Resolves #646


if params[:feed_onestop_id].present?
feed_onestop_ids = params[:feed_onestop_id].split(',')
# @feed_version_infos = @feed_version_infos.where(feed: Feed.where(onestop_id: feed_onestop_ids))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

@irees irees changed the title [WIP] Feed Statistics Feed Statistics Mar 17, 2017
Doesn't play well with including 'feed' -- fix
@irees
Copy link
Member Author

irees commented Mar 23, 2017

  • FeedVersion has_many FeedVersionInfo
  • Index constraint to prevent race conditions
  • Google feedvalidator.py attached to FeedVersion
  • Conveyal gtfs-lib as a FeedVersionInfo
  • Our statistics as a FeedVersionInfo

@irees irees merged commit 5b8232f into master Mar 24, 2017
@irees irees removed the in progress label Mar 24, 2017
@drewda drewda deleted the feed-statistics branch May 9, 2017 18:10
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

Successfully merging this pull request may close these issues.

None yet

1 participant