This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm trying to scrape football transfer market data across the top 5 european leagues. I would like to do this at least 10 years back and for each league they have pages similar to this - https://www.transfermarkt.com/premier-league/transfers/wettbewerb/GB1/plus/?saison_id=2012&s_w=&leihe=0&leihe=1&intern=0 - where they collect all the activity of that season by team in detail. I don't know how to grab all this information into a data frame (that is the team, name, age, nationality, position, where they left, and fee...excluding the team totals/averages at the bottom of each section) while making sure every player gets a column with their team name (I got this using the selector gadget '.tooltipstered .tooltipstered') rather than all of them just having the first team which appears in any given year as the assigned value for their team column.
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Rlanguage/c...