stattleship-r
stattleship-r copied to clipboard
Stattleship R Wrapper
Helpers
@Btibert3 This is so awesome. Any tests I should run in particular? I'll probably run a bunch of basic scripts I have for each sport and then vote to merge.
People report getting: ``` ss_get_result(sport=sport, league=league, ep=ep, query=q_body, walk=TRUE) [1] "Making initial API request" Error: parse error: premature EOF (right here) ------^ ``` when the request is not authorized or...
This code has been working smoothly, providing 2015/6 regular season data ``` ss_get_result(token=,sport="basketball", league="nba", ep="game_logs", query=list(player_id="nba-stephen-curry"), version=1, verbose=TRUE, walk=TRUE) ``` but now returns ``` r [1] "Making initial API request"...
The aim is to include a broad range of helpers, that may or may not be sport-specific. Certain recodes and transformations may make sense for all sports, while others would...
I think it'd be great in subsequent versions to make the calls: `basketball_players(query=q_body)` `basketball_teams(query=q_body)` `football_teams(query=q_body)` and let the "stattle" or "perform" get used in endpoint specific calls.
Team Names Player Names Player Positions Game Date https://stattleship.slack.com/files/mara/F11B58X88/get_nba_playoff_game_logs_R.r
Use `testthat` to create a suite of tests that can be ran after new features are developed or bugs are fixed. Should be able to re-run tests automatically as we...