| api_scrape | Scrape stats.nba.com API and return statsnbaR data |
| filter_bio | Generate filters for player biography data query. |
| filter_construction_worker | Worker function to generate filters for an endpoint data... |
| filter_per_player | Generate filters for a 'per player' data query. |
| filter_per_player_clutch | Generate filters for a 'per player' data query. |
| filter_player | Filter constructors for player data |
| filter_worker | Filter worker for all queries |
| flatten_json_rowSet | Flatten JSON result sets |
| games | Game data functions |
| get_bio | Get player biography data |
| get_players | Retrieve current and historical player data |
| map_filters | Translate key-value pairs to the stats.nba.com API key-value... |
| map_filter_values | Translate values (only) to stats.nba.com API values |
| map_results | Map flattened NBA API data to statsnbaR data |
| map_result_values | Convert character data from stats.nba.com to statsnbaR... |
| parse_json_headers | Parse the returned JSON header information |
| per_player_agg | Retrieve 'per player' aggregated data |
| player | Player data |
| player_game_logs | Retrieve player game logs |
| scrape | Main scrape function |
| statsnbaR-package | R interface to stats.nba.com |
| team_game_logs | Retrieve team game logs |
| type_converters | Named type conversion functions |
| utils | Utility functions |
| valid_filters | Validate key-value pairs as being statsnbaR-recognisable |
| valid_results | Check output of API matches basic format |
| valid_resultSet | Check output of API matches basic format |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.