Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove fotmob functions #311

Merged
merged 6 commits into from
Aug 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: worldfootballR
Title: Extract and Clean World Football (Soccer) Data
Version: 0.6.3.0013
Version: 0.6.4.0000
Authors@R: c(
person("Jason", "Zivkovic", , "[email protected]", role = c("aut", "cre", "cph")),
person("Tony", "ElHabr", , "[email protected]", role = "ctb"),
Expand All @@ -13,10 +13,10 @@ Description: Allow users to obtain clean and tidy
number of popular sites, including 'FBref',
transfer and valuations data from
'Transfermarkt'<https://www.transfermarkt.com/> and shooting location
and other match stats data from 'Understat'<https://understat.com/>
and 'fotmob'<https://www.fotmob.com/>. It gives users the
ability to access data more efficiently, rather than having to export
data tables to files before being able to complete their analysis.
and other match stats data from 'Understat'<https://understat.com/>.
It gives users the ability to access data more efficiently, rather than
having to export data tables to files before being able to complete their
analysis.
License: GPL-3
URL: https://github.com/JaseZiv/worldfootballR
BugReports: https://github.com/JaseZiv/worldfootballR/issues
Expand Down Expand Up @@ -46,8 +46,7 @@ Imports:
withr,
xml2,
tibble,
cli,
curl
cli
Suggests:
chromote,
R6,
Expand Down
54 changes: 0 additions & 54 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ export(fb_team_match_log_stats)
export(fb_team_match_results)
export(fb_team_player_stats)
export(fb_teams_urls)
export(fotmob_get_league_ids)
export(fotmob_get_league_matches)
export(fotmob_get_league_tables)
export(fotmob_get_match_details)
export(fotmob_get_match_info)
export(fotmob_get_match_momentum)
export(fotmob_get_match_players)
export(fotmob_get_match_team_stats)
export(fotmob_get_matches_by_date)
export(fotmob_get_season_stats)
export(get_advanced_match_stats)
export(get_match_lineups)
export(get_match_report)
Expand All @@ -45,8 +35,6 @@ export(get_season_team_stats)
export(get_team_match_results)
export(load_fb_big5_advanced_season_stats)
export(load_fb_match_shooting)
export(load_fotmob_match_details)
export(load_fotmob_matches_by_date)
export(load_match_comp_results)
export(load_match_results)
export(load_understat_league_shots)
Expand Down Expand Up @@ -77,83 +65,41 @@ export(understat_team_players_stats)
export(understat_team_season_shots)
export(understat_team_stats_breakdown)
importFrom(cli,cli_alert)
importFrom(dplyr,across)
importFrom(dplyr,all_of)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
importFrom(dplyr,bind_cols)
importFrom(dplyr,bind_rows)
importFrom(dplyr,case_when)
importFrom(dplyr,distinct)
importFrom(dplyr,filter)
importFrom(dplyr,mutate)
importFrom(dplyr,pull)
importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(dplyr,transmute)
importFrom(glue,glue)
importFrom(glue,glue_collapse)
importFrom(httr,GET)
importFrom(httr,POST)
importFrom(httr,build_url)
importFrom(httr,content)
importFrom(httr,parse_url)
importFrom(httr,set_cookies)
importFrom(janitor,clean_names)
importFrom(jsonlite,fromJSON)
importFrom(jsonlite,toJSON)
importFrom(lubridate,is.Date)
importFrom(lubridate,ymd)
importFrom(magrittr,"%>%")
importFrom(progress,progress_bar)
importFrom(purrr,discard)
importFrom(purrr,insistently)
importFrom(purrr,keep)
importFrom(purrr,map2_dfr)
importFrom(purrr,map_chr)
importFrom(purrr,map_dfr)
importFrom(purrr,pluck)
importFrom(purrr,pmap_dfr)
importFrom(purrr,possibly)
importFrom(purrr,rate_backoff)
importFrom(purrr,safely)
importFrom(purrr,transpose)
importFrom(readr,read_csv)
importFrom(readr,type_convert)
importFrom(rlang,.data)
importFrom(rlang,.env)
importFrom(rlang,arg_match)
importFrom(rlang,arg_match0)
importFrom(rlang,check_installed)
importFrom(rlang,inform)
importFrom(rlang,maybe_missing)
importFrom(rstudioapi,isAvailable)
importFrom(rstudioapi,versionInfo)
importFrom(rvest,html_attr)
importFrom(rvest,html_elements)
importFrom(rvest,html_nodes)
importFrom(rvest,html_table)
importFrom(rvest,html_text)
importFrom(rvest,html_text2)
importFrom(rvest,read_html)
importFrom(stats,runif)
importFrom(stats,setNames)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_remove_all)
importFrom(stringr,str_replace)
importFrom(stringr,str_replace_all)
importFrom(tibble,as_tibble)
importFrom(tibble,enframe)
importFrom(tibble,tibble)
importFrom(tidyr,crossing)
importFrom(tidyr,hoist)
importFrom(tidyr,pivot_longer)
importFrom(tidyr,pivot_wider)
importFrom(tidyr,unnest)
importFrom(tidyr,unnest_longer)
importFrom(tidyr,unnest_wider)
importFrom(tidyselect,vars_select_helpers)
importFrom(utils,read.csv)
importFrom(utils,sessionInfo)
importFrom(xml2,read_html)
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# worldfootballR (development version)

# worldfootballR 0.6.4

### Breaking changes

* All fotmob functions removed due to an update to fotmob [terms of service](https://www.fotmob.com/tos.txt) prohibiting "the use of automatic services (robots, spiders, indexing etc.) as well as other methods for systematic or regular use."


### Bugs

* `fotmob_get_match_details()` failing due to change in `teamColors` JSON element (0.6.3.0001) [#271](https://github.com/JaseZiv/worldfootballR/issues/271)
Expand Down
22 changes: 0 additions & 22 deletions R/fotmob_helpers.R

This file was deleted.

Loading