get_scores: Get scores

Description Usage Arguments Details Value

Description

Get scores.

Usage

1
2
3
get_scores(league, url = NULL, resp = NULL, ...)

get_scores_nfl(league = "nfl", ...)

Arguments

league

character. Name of league for which to get scores. One of 'nfl' or 'nba'. For '_[league]()' functions, set to appropriate league by default. (e.g. For '_nfl()', set to 'nfl'.) Note that only 'nfl' is currently implemented.

url, resp

Functionally equivalent to the arguments in the 'make_url_scores()' and 'request_scores()' functions. However, not required for this function. If provided, then used and function that would be called is skipped. (e.g. If 'resp' is provided, then 'make_url_scores()' and 'request_scores()' are skipped. Instead, 'parse_scores()' is called directly.)

...

dots. Passed to wrapped functions.

Details

This functions calls 'make_url_scores()', followed by'request_scores()', followed by 'parse_scores()'.

Value

tibble, with the following columns: TBD.


tonyelhabr/espn2 documentation built on May 5, 2019, 3:55 p.m.