scraping_games_acb {BAwiR} | R Documentation |
ACB player game finder data
Description
This is the new function to obtain the ACB box score data.
Usage
scraping_games_acb(code, game_id, season = "2020-2021",
type_season = "Regular Season",
user_email, user_agent_goo)
Arguments
code |
Game code. |
game_id |
Game id. |
season |
Season, e.g. 2022-2023. |
type_season |
Type of season, e.g. 'Regular season'. |
user_email |
Email's user to identify the user when doing web scraping. This is a polite way to do web scraping and to certify that the user is working as transparently as possible with a research purpose. |
user_agent_goo |
User-agent to identify the user when doing web scraping. This is a polite way to do web scraping and to certify that the user is working as transparently as possible with a research purpose. |
Value
A data frame with the player game finder data (box score data).
Author(s)
Guillermo Vinue
See Also
Examples
## Not run:
# Not needed to scrape every time the package is checked, built and installed.
user_email <- "yours"
user_agent_goo <- "yours"
df1 <- scraping_games_acb("103350", 1, "2022_2023", "Regular Season",
user_email, user_agent_goo)
## End(Not run)
[Package BAwiR version 1.3.2 Index]