runpandas.get_events#
- runpandas.get_events(identifier, year=None, run_type=None, config=None)#
Returns event results based on year or event name identifier. The result will be a list of
runpandas.RaceResultinstances that macthes the given criteria.- Parameters
identifier (str) – Name of the event or any identifier related to it.
year (str, optional) – Iterates over all the events with identificer match and with the given year and return them.
run_type (str, optional) – Iterates over all the events with identificer match and with the given run type and return them.
config (yaml file, optional) – The directory in which to cache data; see
get_cache_path().
- Returns
Return a list of
runpandas.RaceResultbased on the identifier,run typer or year criteria.