Skip to content

Instantly share code, notes, and snippets.

View Rigdon's full-sized avatar

M. Ryan Rigdon Rigdon

  • Principal Engineer @ Shipt
  • Saint Petersburg, FL
View GitHub Profile
@Rigdon
Rigdon / keybase.md
Created November 18, 2016 19:52
keybase.md

Keybase proof

I hereby claim:

  • I am rigdon on github.
  • I am rigdon (https://keybase.io/rigdon) on keybase.
  • I have a public key ASAQINQwCzoB15Z10QqhULYT8Cjt5Y1ppGcFvJX339TajAo

To claim this, I am signing this object:

Problem

I have a few different doc types that I would like to perform some analysis on. The problem is that the values I want to correlate across are only (currently) accessible via a "through" object. In our case We have a request_id that is shared across all three indices; api, supporters, payments. Each of these indices has a single doc type; request, signup, `payment.

The api index has a campaign attribute. Ultimately what I want is the payments, requests, and signups bucketed by `campaign.

Current Data