Giter Site home page Giter Site logo

tennis_slam_pointbypoint's Issues

Wrong column headers for AO-2017

Hi Jeff,

Appears that there are 67 items in each column, but only 65 column headers.

headers = "match_id,ElapsedTime,SetNo,P1GamesWon,...,ServeWidth,ServeDepth,ReturnDepth"
first_row = "2017-ausopen-1101,0:00:00,1,0,...,,,"
print(len(headers.split(",")))
>>> 65
print(len(first_row.split(",")))
>>> 67

Momentum data

Hi, I just have a quick question. How are the P1 Momentum and P2 Momentum figures calculated?
Thanks!

Data dictionary

The Grand Slams point-by-point data includes the following variables and entries:
ServeWidth = {"B", "BC", "BW", "C", "W"}
ServeDepth = {"CTL", "NCTL"}
ReturnDepth = {"D", "ND"}
ServeIndicator = {1, 2}
Serve_Direction = {0, 1, 2, 3}

Could I know what these mean? Thanks.

Men's or Women's indicator column (event_name) is scarce

I'm getting a lot of conflation between men's and women's when I do entire point-level aggregations. I would like to separate them obviously but before I do so I want to run this by @JeffSackmann and any other maintainers to make sure nobody has a local fix for this already.

> df %>% group_by(event_name) %>% count
# A tibble: 5 ร— 2
# Groups:   event_name [5]
  event_name            n
  <chr>             <int>
1 event_MS          52105
2 event_WS          30912
3 Men's Singles     36666
4 Women's Singles   26380
5 NA              1526475

Wrt how to fix it I was thinking of a simply

  1. Checking which matches went 4 or 5 sets (SetNo >= 4 for all points in a match_id) -> these are obviously men, fill event_name.
  2. Checking which matches only went 2 sets (SetNo <= 2 for all points in a match_id) -> these are obviously women, fill event_name.
  3. For the remaining ones (women's sets who went the distance or men's sets who only went three), check by the names which I have hopefully largely filled in from steps 1 and 2 just above.

Is it possible to get realtime / daily data?

Might you care to add a section in the README.md describing how the data was obtained?

Is there a way to get up-to-date data during a tournament (e.g. Wimbledon)?

And if so, what's the latency? end-of-day?

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.