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

Query by date #9

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

Query by date #9

wants to merge 2 commits into from

Conversation

EricDykstra
Copy link
Collaborator

Still a work in progress and not ready to be merged, but it partly works. Haven't been able to debug everything, but take a look at aggregate_from_entries.rb
It's a job that will take every entry for a user and give us a place to just key-value lookup won/lost for a single day.
It aggregates over 100 entries per second, so I'm pretty happy with that part of it.

Todo:

  • Find out why some of the json keys are updating correctly, and other ones are not (in this case, you can see that fanduel, nfl, tournament, and mlb are all correct, the rest are not
    screen shot 2014-12-29 at 2 14 53 am
  • Create an interface to query within the json stat_hash part for easy AJAXing

- Move all migrations back into initial_migrations
- Make FanduelCsvImporter work for new schema
- Add dollar methods for the new in_cents columns
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