Since .bbrz files will sometimes have no value recorded for some things (examples seen include x
position of ball, game turn, etc.), we get a NULL if we try to call them. Passing all calls for data from a replay file through here allows us to control the returned value if the data is unrecorded. For example, it appears that the Ball$IsHeld value is set to "1" when the ball is held, but is not reported at all if the ball is free.
1 | fill_nulls(data, null_val = NA)
|
data |
value to be checked |
null_val |
value to return if data is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.