getPGAEvents: Get pga events

Description Usage Arguments Value Examples

Description

This function returns a data frame of events for the pga tour between specific years, or at specific courses/tournaments

Usage

1
2
getPGAEvents(startYear = 0, endYear = 10000, course = NA,
  tournament = NA)

Arguments

integer

input first year of events to return, Defaults to 0 (no lower bound)

integer

input last year of events to return, Defaults to 10000 (no upper bound)

string

course Name of course to filter by

string

tournament Name of tournament to filter by

Value

Data Frame of events for the given year range.

Examples

1
getEventsForYears(2010, 2015)

cdepeuter/golf_analytics documentation built on May 13, 2019, 2:33 p.m.