scrape_commentary: Scrapes ESPN match commentary for a given game ID

Description Usage Arguments Details Value Examples

View source: R/scrape_commentary.R

Description

Scrapes ESPN match commentary for a given game ID

Usage

1

Arguments

game_id

ESPN game ID to scrape the match commentary for.

Details

Through string parsing of the commentary the following columns are created:

Value

Data frame of the match commentary with a row for each event in the commentary along with the columns described above.

Examples

1
2
# Get the match commentary for Serbia vs Costa Rica in the 2018 World Cup:
srb_crc_commentary <- scrape_commentary(498194)

ryurko/fcscrapR documentation built on Jan. 22, 2020, 1:01 p.m.