Learn R Programming

worldfootballR (version 0.6.2)

tm_player_bio: Get transfermarkt player bios

Description

Returns data frame of player bios from transfermarkt.com

Usage

tm_player_bio(player_urls)

Value

returns a dataframe of player bios

Arguments

player_urls

player url(s) from transfermarkt

Examples

Run this code
if (FALSE) {
try({
player_url <- "https://www.transfermarkt.com/eden-hazard/profil/spieler/50202"
tm_player_bio(player_url)
tm_player_bio(player_urls = c("https://www.transfermarkt.com/eden-hazard/profil/spieler/50202",
                              "https://www.transfermarkt.com/sergio-ramos/profil/spieler/25557",
                              "https://www.transfermarkt.com/ivo-grbic/profil/spieler/226073"))
})
}

Run the code above in your browser using DataLab