Skip to content

Commit

Permalink
rm the worldfootballR prefixing
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelhabr committed Jan 17, 2024
1 parent 23aa57c commit b65ea84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/fb_league_stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@

player_table_elements <- xml2::xml_children(xml2::xml_children(player_table))
parsed_player_table <- rvest::html_table(player_table_elements)
renamed_player_table <- worldfootballR:::.rename_fb_cols(parsed_player_table[[1]])
renamed_player_table <- .rename_fb_cols(parsed_player_table[[1]])
renamed_player_table <- renamed_player_table[renamed_player_table$Rk != "Rk", ]
renamed_player_table <- worldfootballR:::.add_player_href(
renamed_player_table <- .add_player_href(
renamed_player_table,
parent_element = player_table_elements,
player_xpath = ".//tbody/tr/td[@data-stat='player']/a"
Expand Down

0 comments on commit b65ea84

Please sign in to comment.