Description Usage Arguments Value Examples
View source: R/ScrapingFunctionsGameURLs.R
This function pastes together the proper formatting of the nfl play by play data JSON URL such that it can be used in our play-by-play functions. This function calls the extracting_gameids function
1 | proper_jsonurl_formatting(GameID)
|
GameID |
(character or numeric) A 10 digit game ID associated with a given NFL game. |
The url where the game JSON data for the given game can be found.
1 2 3 4 5 | # Save the gameID into a variable
nfl2015.finalregseasongame.gameID <- "2016010310"
# Putting all game IDs in to proper URL format
proper_jsonurl_formatting(nfl2015.finalregseasongame.gameID)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.