Code Monkey home page Code Monkey logo

advanced-footbal-analysis-mapreduce's Introduction

nfldata

The are two series of MapReduce programs. One is a series of programs to extract and normalize the data. The second is a simple program to look at incomplete passes.

The play by play dataaset can be found at http://www.advancednflstats.com/2010/04/play-by-play-data.html.

ETL Series

This program takes the play by play dataset and merges it with other datasets like arrests, stadiums and weather.

Set things up by running the setup.sh script or run the following steps manually:
Run the PlayByPlayDriver on the play by data data.
Run the ArrestJoinDriver on the data from PlayByPlayDriver. (place in HDFS under joinedoutput)
Put the stadiums.csv in HDFS in a directory called stadium.
Put the 173328.csv in HDFS in a directory called weather.
In Hive, run playbyplay_tablecreate.hql.
In Hive, run playbyplay_join.hql.
In Hive, run adddrives.hql.
In Hive, run adddriveresult.hql.
Query and have fun!
See the queries in queries.hql for some examples of how and what to query.

Incomplete Passes

Simple MapReduce on NFL play by play data. This program focuses on incomplete passes and which receiver they were throw to. See http://www.jesse-anderson.com/2013/01/nfl-play-by-play-analysis/ for the resulting charts.

advanced-footbal-analysis-mapreduce's People

Contributors

eljefe6a avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.