EXACTsports / roster-project

Experimenting with scraping college team rosters
0 stars 0 forks source link

Roster Analysis Feature #4

Closed barrytarter closed 2 years ago

barrytarter commented 2 years ago

Check out https://docs.google.com/document/d/13T6oDexWh-dXtDSYZLBXAxn5T3EP9F88Ul2i2ls3B30/edit as this is the 2nd stage of collecting the data. Get as much of this project completed by Sunday as you can, as we'll begin a new project on Monday (using Spotify API).

Please try your best to finish this project of automating the functionality for getting all athletes social data AND now for analyzing each team's roster.

Any questions @hardcommitoneself ?

barrytarter commented 2 years ago

Also, @edgrosvenor if you have any thoughts before we wrap up this project, let me or @hardcommitoneself know!

hardcommitoneself commented 2 years ago

@barrytarter

How can we get average Height of team? I'd like to know the formula.

barrytarter commented 2 years ago

@hardcommitoneself sure.

In the US we use height measurements that look like this 5'9 (or sometimes like 5-9 or 5'9" or 5"9). In any of those formats the leading number (e.g. "5") is the number of feet and the 2nd number (e.g. "9") is the inches.

You would first convert the feet to inches and then add them together, so that 5 feet = 60 inches (as 1 ft = 12 inches) and then combine it with the 2nd number, e.g. 69 inches.

Next for the team, you'd average all those numbers together. Does that make sense?

hardcommitoneself commented 2 years ago

Thanks, @barrytarter

That's totally make sense!

barrytarter commented 2 years ago

@hardcommitoneself Can you share a CSV of the analysis data for the sample teams?

https://artuathletics.com/sports/mens-soccer/roster https://asugrizzlies.com/sports/mens-soccer/roster https://aupanthers.com/sports/mens-soccer/roster https://adrianbulldogs.com/sports/msoc/roster https://www.albertusfalcons.com/sports/msoc/2022-23/roster https://gobrits.com/sports/mens-soccer/roster https://albrightathletics.com/sports/mens-soccer/roster https://alfredstate.prestosports.com/sports/msoc/2022-23/roster https://gosaxons.com/sports/mens-soccer/roster https://alicelloydeagles.com/sports/msoc/2022-23/roster https://www.ahcbulldogs.com/sports/msoc/2022-23/roster https://www.allegany.edu/athletics/mens-soccer.html https://alleghenygators.com/sports/mens-soccer/roster https://sccstorm.com/sports/msoc/2022-23/roster https://almascots.com/sports/msoc/2022-23/roster https://auwolves.com/sports/mens-soccer/roster https://www.aicyellowjackets.com/sports/msoc/2022-23/roster https://www.arcbeavers.com/sports/msoc/2022-23/roster

hardcommitoneself commented 2 years ago

@barrytarter

image Please check it.

barrytarter commented 2 years ago

@hardcommitoneself great work so far. We are going to pause the work on this one now until we have the roster link data ready.

Instead, you'll switch over to https://github.com/EXACTsports/MotiveMob/ for the next few weeks to build the back-end infrastructure for the application. I'll share details in a separate issue.