read_html_team: Get the Basic Information of Football Teams from England

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

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.

Value

the basic information of football teams, including country, home, city and fundation time.

Examples

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)

XingfuXu/football documentation built on May 14, 2019, 5:15 a.m.