Learn R Programming

fitzRoy (version 0.3.2)

scrape_afltables_match: Return afltables player match stats

Description

scrape_afltables_match returns a character vector containing match URLs for the specified date range

Usage

scrape_afltables_match(match_urls)

Arguments

match_urls

A list of URL's for matches to scrape data from

Value

data table of afltables.com match results, with a row per player per match.

Details

This function returns the full afltables.com match stats for each player and each game specified in match_urls. It is useful to use the helper function get_afltables_urls to return these or simply navigate to afltables.com and find the match of interest.

Examples

Run this code
# NOT RUN {
scrape_afltables_match("https://afltables.com/afl/stats/games/2018/071120180602.html")
scrape_afltables_match(get_afltables_urls("01/06/2018", "01/07/2018"))
# }

Run the code above in your browser using DataLab