KoderKow / kaggler

R Interface for the Kaggle API
https://koderkow.github.io/kaggler/
Other
2 stars 2 forks source link

kgl_flow_leaderboard #2

Closed KoderKow closed 3 years ago

KoderKow commented 3 years ago

Having some functions to show the leaderboard would be nice!

srmatth commented 3 years ago

Just added a PR that has the kgl_flow_leaderboard() function. There are two different ways to get the leaderboard. The way that I've implemented gets the entire leaderboard (it downloads a .zip to a tmp file and then unzips it and reads it in). The other way to do it is the view endpoint, but that only shows the first 50 people on the leaderboard so I figured just get all of it and the user can decide what to filter.

KoderKow commented 3 years ago

Implemented with PR #3 !