get_players: get_players

View source: R/get_players.R

get_playersR Documentation

get_players

Description

Lists players for a given team and date

Usage

get_players(team_code, date_code)

Arguments

team_code

Full code for the team you want to scrape. From sfscrape::get_teams. E.g.

date_code

Code for the date you want to scrape. From sfscrape::get_dates

Value

data.frame with cols "player_id", "player_name", "player_code"

Examples


# sfscrape::get_players("/team/10/manchester_city/", "220006")


fpl-analytics/sfscrape documentation built on April 14, 2022, 6:46 p.m.