Skip to content

This file contains the details of scraping a football dataset, from TransferMrkt.com and Fantasy Premier League.

Notifications You must be signed in to change notification settings

shubham-maurya/epl-data-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epl-data-scraping

This file contains the details of how I scraped a football dataset, from TransferMrkt.com and Fantasy Premier League. Packages used -

  • Tidyverse
  • RSelenium
  • Rvest
  • stringr

Needed to use RSelenium to scrape data from fantasy premier league, which was a dynamic website. Used rvest for Transfermrkt.com as it was static.

Ultimately created a dataframe with the following attributes, for 461 players of the 2016-17 -

  • name
  • club
  • age
  • position
  • page views (average number of daily Wikipedia searches from September 1, 2016 to May 1, 2017.
  • FPL value
  • FPL selection percent
  • FPL points
  • nationality

Will keep adding when needed for future projects.

About

This file contains the details of scraping a football dataset, from TransferMrkt.com and Fantasy Premier League.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages