newPuuids | R Documentation |
Check if there are any new PUUID from several game modes (those not against bot) and return a vector of PUUID that are not included "Constructed","SeasonalTournamentLobby","Bo3ChallengeLobby","StandardGauntletLobby","LastCallQualifierGauntletLobby"
newPuuids(account_tbl, match_tbl)
account_tbl |
a tidy data frame, containing a column called puuid |
match_tbl |
a tidy data frame, containing column(s) containng puuid and one called game_mode |
a vector of character, containing the puuid in the matches dataframe not already present in the account data frame
ex_account = data.frame( gameName = c("Pippo","Pluto"), puuid = c("defg","wxyz") ) ex_match = data.frame( game_mode = c("Constructed","Constructed","AI"), puuid_1 = c("abcd","defg","mnop"), puuid_2 = c("defg","hijk","bot1"), puuid_3 = c("wxyz",NA,NA), puuid_4 = c(NA,NA,NA) ) newPuuids(account_tbl = ex_account, match_tbl = ex_match)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.