#' Scrape the Web for college football play-by-play data
#'
#' \pkg{pbp} allows you to scrape the ESPN website
#' for college football play-by-play data, which you can then analyze in R.
#'
#' The only function you're likely to need from \pkg{pbp} is
#' \code{\link{parse.url}}.
#'
#' @docType package
#' @name roxygen2
NULL
#Load the raw data and extract the part including 'mod-pbp', the play-by-play module.
#library(RCurl)
#library(XML)
#url = "http://scores.espn.go.com/ncf/playbyplay?gameId=332430275&period=0"
#source("~/git/pbp/code/metadata-game.r")
#source("regex.r")
#source("~/git/pbp/code/extract-plays.r")
#source("~/git/pbp/code/parse-plays.r")
#
#gamemeta = GameMetadata(url)
#plays = ParsePlays(url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.