Description Usage Arguments Value Examples
The function gets the basic information of a football team from England. The data is got from https://m.qtx.com/dbsoccer/stading_92_2018.html using web sraping. The baisc information includes country, home, city and fundation time.
1 | read_html_team(teams, all = FALSE)
|
teams |
the team names of given teams |
all |
If all is true, it will return the basic information of all.The default value of all is FALSE. |
the basic information of football teams, including country, home, city and fundation time.
1 2 3 4 5 6 | # Example 1: Get the basic information of Liverpool, Chelsea
info_sample <- read_html_team(teams = c("Liverpool", "Chelsea"))
print(info_sample)
# Example 2: Get the basic information of all football teams from England
info_all <- read_html_team(all = TRUE)
print(info_all)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.