simple_boxscore: Simple Game Boxscore

Description Usage Arguments Value Examples

View source: R/PlayByPlayBoxScore.R

Description

This function pulls data from an NFL url and contructs it into a formatted boxscore.

Usage

1
simple_boxscore(GameID, home = TRUE)

Arguments

GameID

(character or numeric) A 10 digit game ID associated with a given NFL game.

home

(boolean): home = TRUE will pull home stats, home = FALSE pulls away stats

Value

A list of player statistics including passing, rushing, receiving, defense, kicking, kick return, and punt return statistics for the specified game.

Examples

1
2
3
# Parsed drive summaries of final game in 2015 NFL season
nfl2015.finalregseasongame.gameID <- "2016010310"
simple_boxscore(nfl2015.finalregseasongame.gameID, home = TRUE) 

maksimhorowitz/nflscrapR documentation built on April 3, 2020, 7:40 p.m.