utils | R Documentation |
Utility functions to make things work better
normalize_names(x, key, warn = TRUE)
get_key_path(sport, prop, game_lines = FALSE)
hacky_tidyup_player_names(player_names)
get_content(uri, query)
american_to_prob(odds)
prob_to_american(probs)
list_df_to_df(df)
x |
Vector of strings to normalize in |
key |
List of elements containing fields "name" and "aliases" in |
warn |
Optional, Boolean – warn if a name in X was not found in the Key names in |
uri |
main url for call to |
query |
list of paramaters to pass to |
normalize_names
was sniped from jimtheflash/gambling_stuff
and written by anthonyshook (to be clear, it was written by a hook owned by some fella named anthony)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.