Skip to contents

Get Division-I statistical trends

Usage

kp_trends()

Value

A data frame with the following columns:

col_nametypesdescription
seasonnumericSeason identifier (4-digit year or 'YYYY-YY' string).
efficiencynumericEfficiency.
temponumericTempo.
e_fg_pctnumericE field goals percentage (0-1 decimal).
to_pctnumericTo percentage (0-1 decimal).
or_pctnumericOr percentage (0-1 decimal).
ft_ratenumericFt rate.
fg_2_pctnumericField goals 2 percentage (0-1 decimal).
fg_3_pctnumericField goals 3 percentage (0-1 decimal).
fg_3a_pctnumericField goals 3a percentage (0-1 decimal).
ft_pctnumericFree throw percentage (0-1).
a_pctnumericA percentage (0-1 decimal).
blk_pctnumericBlocks percentage (0-1 decimal).
stl_pctnumericSteals percentage (0-1 decimal).
non_stl_pctnumericNon steals percentage (0-1 decimal).
avg_hgtnumericAvg hgt.
continuitynumericContinuity.
home_win_pctnumericHome win percentage (0-1 decimal).
ppgnumericPoints per game.

Examples

# \donttest{
try(kp_trends())
#>  2026-08-06 04:00:56.082801: Invalid arguments or no trends data available!
#>  Error: HTTP 429 Too Many Requests.
#> NULL
# }