getZebraData | R Documentation |
Get the robot location time series for the six robots in a match.
getZebraData(match, authKey = defaultAuthKey())
match |
A character string identifying the match, as in the return value of
|
authKey |
Your TheBlueAlliance.com authentication key. |
A list of six data.frames, named with the team numbers. Each data.frame contains the columns
x |
The x component of the locations, in feet |
y |
The y component of the locations, in feet |
time |
The times at which the locations were recorded, in seconds from the start of the match. |
As of this writing, the locations are recorded every 100 milliseconds.
Each data.frame also has the attributes
alliance |
"red" or "blue" |
team |
the team number |
.
m <- getEventMatches("2022wasam") z6 <- getZebraData(m$key[[77]]) str(z6[[2]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.