Last active
February 4, 2016 17:29
-
-
Save jribnik/ce6f76a832e69a4566de to your computer and use it in GitHub Desktop.
$project stage of simulation pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proj = {"$project": | |
{ | |
"team": "$OffenseTeam", | |
"yards": "$Yards", | |
"turnovers": {"$sum": ["$IsInterception", "$IsFumble"]} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment