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 July 20, 2018, 9:51 p.m.