hfshr / distill_blog

Blog and things
https://hfshr.xyz
9 stars 2 forks source link

posts/2020-10-22-introducing-powerof10/ #8

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

Data, Code & Coffee - Introducing {poweRof10}.

A quick introduction to a package I created to scrape data from athletics rankings website www.thepowerof10.info.

https://www.hfshr.xyz/posts/2020-10-22-introducing-powerof10/

MaxWalt commented 11 months ago

Hi Harry ! Thanks for creating this library. It's currently very useful for me. However, I do have one question on which you may help. I'm working on longitudinal athletics data. On this purpose, I need to retrieve the "href". But as there are some athlete with indoor and outdoor performance in makes the merging difficult. How would you do that ? Thanks for your response. Cheers, Maxime Walt

hfshr commented 11 months ago

Hey @MaxWalt, my pleasure! Could you give me more of an example of what you are trying to achieve? Have you got the data you need and can't merge it? Or are you having trouble getting the data in the first place?

Craig-Drury commented 10 months ago

Hello I'm looking at setting up a local half marathon league. I want to scrape all the competitors for the half marathons from a handful of local clubs... ideally with a monthly update as the year progresses (pressing go monthly I can handle) I'm a rubbish coder have used tidyverse a tiny bit... my reading of the code is I would need to bolt on at the beginning a list of competitors? And then run your athletes search in a loop... would that be how you would approach it? 🤔 this could revolutionise powerof10 for local competition... Cheers Craig

hfshr commented 10 months ago

Hi @Craig-Drury, yeah roughly speaking looping over a list of athletes and extracting their results would get you the data you need. I'd be keen to give you a hand with this if you'd like? I've always thought the data on powerof10 is under-utilised but never had a good enough idea of what to do with it... Feel free to drop me an email and maybe we can discuss further?