get_match_id_lane_role: A function to get a vector of _n_ match IDs

View source: R/get_match_id_lane_role.R

get_match_id_lane_roleR Documentation

A function to get a vector of n match IDs

Description

A function to fetch the match IDs of the n most recent matchs that involves the player with the specific player ID and the specific lane role.

Usage

get_match_id_lane_role(player_id, n, lane_role)

Arguments

player_id

The numeric ID of your Dota 2 account, numeric

n

The number of match IDs you want, numeric

lane_role

Off lane = 1, mid lane = 2, safe lane = 3, numeric

Value

The function returns a numeric vector containing the match IDs of the n most recent matchs that involves the player with with the specific player ID and the specific lane role.

Examples

## Not run: 
get_match_id_lane_role(123456, 20, 2)

## End(Not run)

huayingq1996/DotaR documentation built on March 31, 2022, 2:03 a.m.