Note: This site will be discontinued as of September 1, 2021.
SDQL3 access will continue with user input data at http://s3.sportsdatabase.com.
S p o r t s D a t a b a s e . c o m
agile access to sports data
|NFL Sport Data Query Language Access.||SDB Home NFL Trends NFL Query|
Kickoff Returns Parameters: average kickoff return, average kickoff return yards, kickoff return touchdowns, kickoff returns, longest kickoff return, name
Kicking Parameters: field goals, field goals attempted, kicking extra points, kicking extra points attempted, longest field goal, name
Fumbles Parameters: fumble yards, fumbles, fumbles lost, fumbles recovered, name
Passing Parameters: completions, interceptions thrown, name, passes, passing conversions, passing touchdowns, passing yards
Rushing Parameters: fumbles, fumbles lost, longest rush, name, rushes, rushing conversions, rushing touchdowns, rushing yards
Defense Parameters: defensive two point conversion, forced fumble, forced fumbles, fumble return touchdowns, fumble return yards, interception return touchdowns, interceptions, name, sacks, safeties, tackle assists, tackles
Punting Parameters: average punt yards, longest punt, name, punts, punts inside the twenty
Punt Returns Parameters: average punt return, average punt return yards, longest punt return, name, punt return touchdowns, punt returns
Receiving Parameters: longest reception, name, receiving conversions, receiving touchdowns, receiving yards, receptions, targets
For access to the NFL game-level database use the syntax: game reference:parameter.
Where game game references are any combination of t, o, p, P, n and N (for team, opponent, previous game, previous matchup, next game and next matchup respectively). Here are a few examples:
To see how teams do when rushing for more than 100 yards while holding their opponent to few than 100 yars use the SDQL: 100 < t:rushing yards and to:rushing yards < 100
To see how teams do after scoring more than 40 points their last four games use the SDQL: 40 < p:points and 40 < p2:points and 40 < p3:points and 40 < p4:points
To see how teams do after their opponent passed for more than 400 yards and lost use the SDQL: 400 < top:passing yards and top:points < topo:points
To see how teams do when they have a season-to-date average of less that 50 rushing yards use the SDQL: tA(rushing yards) < 50
To access an individual player's performance use the syntax: [Team:]Player Name:game reference:parameter.
Where the specification of the team is optional and the name can be abbreviated.
To see how the Packers do after Aaron Rodgers throws more than 40 passes use the SDQL: 40 < Packers:AR:p:passes
To see how teams do when LeSean has more than 20 rushes use the SDQL: 20 < LeSean:rushes
For data visualization queries, you need to specify the parameters to plot as well as the restrictive conditions.
Scatter Plots require the SDQL syntax: x, y @ conditions. For example:
To plot the opponent's points vs the team's points for all Bears games in 2013 use the SDQL: t:points as Points, o:points as Opponent Points @ t:team=Bears and season=2013
Histograms require the SDQL syntax: x @ conditions. For example :
To plot the distribution of points for all NFL games this century use the SDQL: t:points as Points @ 2000 <= season
To color this histogram by site, use the SDQL: t:points as Points @ 2000 <= season and site
Box Plots require the SDQL syntax: x @ groups . For example :
See the points scored by each NFL team in 2013 use the SDQL: points @ team and season=2013
|e-mail links: Content@SportsDataBase.com Support@SportsDataBase.com|
|Content for this site is generated using the Sports Data Query Language (SDQL).|